Versions in this module Expand all Collapse all v0 v0.1.0 Sep 28, 2021 Changes in this version + func StreamInterceptorChain(interceptors ...grpc.StreamServerInterceptor) grpc.StreamServerInterceptor + func UnaryInterceptorChain(interceptors ...grpc.UnaryServerInterceptor) grpc.UnaryServerInterceptor + type Config struct + Deployment string + DisableMetric bool + DisableTrace bool + Host string + Labels map[string]string + Name string + Network string + Port int + ServiceAddress string + SlowQueryThresholdInMilli int64 + func DefaultConfig() *Config + func RawConfig(key string) *Config + func StdConfig(name string) *Config + func (config *Config) Build() (*Server, error) + func (config *Config) MustBuild() *Server + func (config *Config) WithLogger(logger *olog.Logger) *Config + func (config *Config) WithServerOption(options ...grpc.ServerOption) *Config + func (config *Config) WithStreamInterceptor(intes ...grpc.StreamServerInterceptor) *Config + func (config *Config) WithUnaryInterceptor(intes ...grpc.UnaryServerInterceptor) *Config + func (config Config) Address() string + type Server struct + func (s *Server) GracefulStop(ctx context.Context) error + func (s *Server) Healthz() bool + func (s *Server) Info() *server.ServiceInfo + func (s *Server) Serve() error + func (s *Server) Stop() error