Documentation ¶ Index ¶ func Start(config Config, protoService func(*grpc.Server), opts ...grpc.ServerOption) (error, *grpc.Server, net.Listener) func StartHTTPProxy(config Config, openAPIDir string, ...) *http.Server func StopWatch(grpcServer *grpc.Server, lis net.Listener, gwServer *http.Server) type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Start ¶ func Start( config Config, protoService func(*grpc.Server), opts ...grpc.ServerOption, ) (error, *grpc.Server, net.Listener) Start - Method to Start gRPC server func StartHTTPProxy ¶ func StartHTTPProxy( config Config, openAPIDir string, protoHandlerFromEndpoint func(context.Context, *runtime.ServeMux, string, []grpc.DialOption) error, ) *http.Server func StopWatch ¶ func StopWatch(grpcServer *grpc.Server, lis net.Listener, gwServer *http.Server) Types ¶ type Config ¶ type Config struct { Grpc struct { Host string Port int } HTTP struct { Host string Port int } NewRelic newrelictracing.Config } Source Files ¶ View all Source files apm.go config.go http-gateway.go logging.go openapi.go server.go stop-watch.go tracing.go Click to show internal directories. Click to hide internal directories.