Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ProviderSet = wire.NewSet( NewServer, NewServerOption, ) )
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(opt *ServerOption) *Server
type ServerOption ¶
type ServerOption struct { Listener net.Listener Logger *slog.Logger Server *grpc.Server // contains filtered or unexported fields }
func NewServerOption ¶
func NewServerOption(addr Address, logger *slog.Logger, opts ...grpc.ServerOption) ( *ServerOption, func(), error, )
Click to show internal directories.
Click to hide internal directories.