Versions in this module Expand all Collapse all v1 v1.0.1 Jul 6, 2023 v1.0.0 Jun 30, 2023 Changes in this version + func GetHeader(ctx context.Context, header string) ([]string, error) + func GetHeaderFromContext(ctx context.Context, key string) []string + func GetHeaders(ctx context.Context, headers ...string) (map[string][]string, error) + type Client struct + func NewClient(cfg *ClientConfig, logger *logger.Logger, tracerProvider *tracer.Provider) (*Client, error) + type ClientConfig struct + Address string + KeepAlive struct{ ... } + type Server struct + func NewServer(c *ServerConfig, logger *logger.Logger, preStartCallback func() error, ...) (*Server, error) + func (s *Server) Addr() string + func (s *Server) GRPCGatewayClients() []string + func (s *Server) GRPCGatewayServer() string + func (s *Server) GRPCServer() *grpc.Server + func (s *Server) GracefulShutdownHandler() error + func (s *Server) GracefulStop() error + func (s *Server) PreStartCallback() func() error + func (s *Server) Serve() error + func (s *Server) TracerProviderShutdownHandler() error + func (s *Server) Type() string + type ServerConfig struct + Address string + GRPCGatewayServer string + GracefulShutdownHandler func() error + KeepAlive struct{ ... } + ReflectionService bool + TracerProvider *tracer.Provider + TracerProviderShutdownHandler func() error