Versions in this module Expand all Collapse all v0 v0.1.0 Sep 28, 2021 Changes in this version + const ModName + type Config struct + Debug bool + DisableMetric bool + DisableTrace bool + Host string + Port int + ServiceAddress string + SlowQueryThresholdInMilli int64 + func DefaultConfig() *Config + func RawConfig(key string) *Config + func StdConfig(name string) *Config + func (config *Config) Address() string + func (config *Config) Build() *Server + func (config *Config) WithHost(host string) *Config + func (config *Config) WithLogger(logger *olog.Logger) *Config + func (config *Config) WithPort(port int) *Config + type EmptyMessage struct + func (*EmptyMessage) ProtoMessage() + func (m *EmptyMessage) Reset() + func (m *EmptyMessage) String() string + type GRPCProxyMessage struct + Data proto.Message + Error int + Message string + func (*GRPCProxyMessage) ProtoMessage() + func (m *GRPCProxyMessage) MarshalJSONPB(jsb *jsonpb.Marshaler) ([]byte, error) + func (m *GRPCProxyMessage) Reset() + func (m *GRPCProxyMessage) String() 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