package main
Import Path
go.pact.im/x/traces/_example (on go.dev )
Dependency Relation
imports 33 packages , and imported by 0 packages
Package-Level Type Names (total 3, all are exported)
/* sort exporteds by: alphabet | popularity */
type GreeterService (struct)
GreeterService serves greetings over both HTTP and gRPC, reading greeting
templates from PostgreSQL and reporting greetings to an audit HTTP endpoint.
Fields (total 6, in which 1 is exported )
UnimplementedGreeterServer helloworld .UnimplementedGreeterServer
/* 5 unexporteds ... */ /* 5 unexporteds: */
auditURL string
client httpclient .Client
logger *logs .Logger
pool *pgxprocess .Pool
tracer *traces .Tracer
Methods (total 6, in which 1 is exported )
(*GreeterService) SayHello (ctx context .Context , req *helloworld .HelloRequest ) (*helloworld .HelloReply , error )
SayHello implements [helloworld.GreeterServer].
/* 5 unexporteds ... */ /* 5 unexporteds: */
(*GreeterService) greet (ctx context .Context , parent traces .SpanRef , name string ) (msg string , err error )
(*GreeterService) handleGreet (w http .ResponseWriter , r *http .Request )
( GreeterService) mustEmbedUnimplementedGreeterServer ()
(*GreeterService) recordAudit (ctx context .Context , parent traces .SpanRef , name string ) (err error )
( GreeterService) testEmbeddedByValue ()
Implements (at least 2, both are exported )
*GreeterService : google.golang.org/grpc/examples/helloworld/helloworld.GreeterServer
GreeterService : google.golang.org/grpc/examples/helloworld/helloworld.UnsafeGreeterServer
As Inputs Of (at least 2, neither is exported )
/* 2+ unexporteds ... */ /* 2+ unexporteds: */
func provideGRPCServer (addr string , tr *traces .Tracer , svc *GreeterService ) process .Runner
func provideHTTPServer (addr string , tr *traces .Tracer , svc *GreeterService ) process .Runner