Versions in this module Expand all Collapse all v0 v0.0.20 Apr 15, 2021 Changes in this version + const DefaultMaxMsgSize + const DefaultRegisterInterval + const DefaultRegisterTTL + const DefaultSleepAfterDeregister + const Name + const RegisterInterval + const RegisterTTL + var DefaultCfg = Cfg + var DefaultId = uuid.New().String() + func GetDefaultServerOpts() []grpc.ServerOption + type Cfg struct + Address string + Advertise string + Codec string + ConnectionTimeout string + Cp string + Creds string + Dc string + Gw struct{ ... } + HeaderTableSize int64 + InitialConnWindowSize int64 + InitialWindowSize int64 + KeepaliveParams struct{ ... } + KeepalivePolicy struct{ ... } + MaxConcurrentStreams int64 + MaxHeaderListSize int64 + MaxReceiveMessageSize int + MaxSendMessageSize int + ReadBufferSize int64 + RegisterInterval time.Duration + RegisterTTL string + SleepAfterDeregister time.Duration + WriteBufferSize int64 + type Entry interface + InitOpts func(opts ...grpc.ServerOption) + Register func(handler interface{}, opts ...Opt) + StreamInterceptor func(interceptors ...grpc.StreamServerInterceptor) + UnaryInterceptor func(interceptors ...grpc.UnaryServerInterceptor) + func New(name string) Entry + type Opt func(opts *Opts) + type Opts struct + type WrappedServerStream = grpcMiddleware.WrappedServerStream + func WrapServerStream(stream grpc.ServerStream) *WrappedServerStream