Documentation ¶
Index ¶
Constants ¶
View Source
const ModName = "server.xgrpc"
Variables ¶
This section is empty.
Functions ¶
func StreamInterceptorChain ¶
func StreamInterceptorChain(interceptors ...grpc.StreamServerInterceptor) grpc.StreamServerInterceptor
func UnaryInterceptorChain ¶
func UnaryInterceptorChain(interceptors ...grpc.UnaryServerInterceptor) grpc.UnaryServerInterceptor
Types ¶
type Config ¶
type Config struct { Addr string Network string SlowQueryThresholdInMilli time.Duration // contains filtered or unexported fields }
Config ...
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig represents default config User should construct config base on DefaultConfig
Click to show internal directories.
Click to hide internal directories.