Documentation
      ¶
    
    
  
    
  
    Index ¶
- type Option
 - func WithAddrOption(s string) Option
 - func WithContextOption(c context.Context) Option
 - func WithDomainOption(s string) Option
 - func WithIDOption(s string) Option
 - func WithKeepAliveOption(t time.Duration) Option
 - func WithMaxConcurrentStreamsOption(i int) Option
 - func WithMaxConnectionAgeGraceOption(t time.Duration) Option
 - func WithMaxConnectionAgeOption(t time.Duration) Option
 - func WithMaxMsgSizeOption(i int) Option
 - func WithStreamServerInterceptorsOption(u ...grpc.StreamServerInterceptor) Option
 - func WithTimeoutOption(t time.Duration) Option
 - func WithTlsOption(tls *tls.Config) Option
 - func WithUnaryServerInterceptorsOption(u ...grpc.UnaryServerInterceptor) Option
 
- type Options
 - type Server
 - func (e *Server) Attempt() bool
 - func (e *Server) NewServer()
 - func (e *Server) Options(options ...Option)
 - func (e *Server) Register(do func(server *Server))
 - func (e *Server) Server() *grpc.Server
 - func (e *Server) Shutdown(ctx context.Context) error
 - func (e *Server) Start(ctx context.Context) error
 - func (e *Server) String() string
 
- type Service
 
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
func WithAddrOption ¶
func WithContextOption ¶
func WithDomainOption ¶
func WithIDOption ¶
func WithKeepAliveOption ¶
func WithMaxMsgSizeOption ¶
func WithStreamServerInterceptorsOption ¶
func WithStreamServerInterceptorsOption(u ...grpc.StreamServerInterceptor) Option
func WithTimeoutOption ¶
func WithTlsOption ¶
func WithUnaryServerInterceptorsOption ¶
func WithUnaryServerInterceptorsOption(u ...grpc.UnaryServerInterceptor) Option
 Click to show internal directories. 
   Click to hide internal directories.