Skip to content

Examples

The Fountain repository ships runnable examples per component. They are vendored into this site under docs/.examples/ and embedded in the component guides. The table below maps each example set to the guide that explains it.

Example setWhat it showsGuide
grpcgRPC server, client, interceptors, metadataServers
httpHTTP serverServers
http/encryptionHTTP server with payload encryptionServers
http/clientHTTP client calling an encrypted endpointClients
tcpRaw and wrapped TCP serversServers
udpUDP serverServers
quicQUIC server, streams, datagramsServers
taskInvokers, jobs, and cronsWorkers & Tasks
traceDistributed tracing over HTTP and gRPCObservability
sentinelFlow control and circuit breakingResilience

See also