Versions in this module Expand all Collapse all v1 v1.3.10 Dec 6, 2021 Changes in this version + type Option func(*Options) + 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 struct + type Server struct + func New(name string, options ...Option) *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 struct + CallTimeout time.Duration + Connection *grpc.ClientConn + func (e *Service) Dial(endpoint string, callTimeout time.Duration, ...) (err error)