Documentation ¶
Index ¶
- func InterceptorLogger(l *slog.Logger) logging.Logger
- type Option
- func WithAddr(s string) Option
- func WithCert(s string) Option
- func WithContext(c context.Context) Option
- func WithDomain(s string) Option
- func WithID(s string) Option
- func WithKeepAlive(t time.Duration) Option
- func WithKey(s string) Option
- func WithMaxConcurrentStreamsOption(i int) Option
- func WithMaxConnectionAge(t time.Duration) Option
- func WithMaxConnectionAgeGrace(t time.Duration) Option
- func WithMaxMsgSizeOption(i int) Option
- func WithStreamServerInterceptors(u ...grpc.StreamServerInterceptor) Option
- func WithTLS(tls *tls.Config) Option
- func WithTimeout(t time.Duration) Option
- func WithUnaryServerInterceptors(u ...grpc.UnaryServerInterceptor) Option
- type Options
- type Server
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*Options)
Option set options
func WithMaxConcurrentStreamsOption ¶
WithMaxConcurrentStreamsOption set MaxConcurrentStreamsOption
func WithMaxConnectionAge ¶
WithMaxConnectionAge set MaxConnectionAgeOption
func WithMaxConnectionAgeGrace ¶
WithMaxConnectionAgeGrace set MaxConnectionAgeGraceOption
func WithMaxMsgSizeOption ¶
WithMaxMsgSizeOption set MaxMsgSizeOption
func WithStreamServerInterceptors ¶
func WithStreamServerInterceptors(u ...grpc.StreamServerInterceptor) Option
WithStreamServerInterceptors set StreamServerInterceptorsOption
func WithUnaryServerInterceptors ¶
func WithUnaryServerInterceptors(u ...grpc.UnaryServerInterceptor) Option
WithUnaryServerInterceptors set UnaryServerInterceptorsOption
Click to show internal directories.
Click to hide internal directories.