Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCServer ¶
type HTTPServer ¶
type Option ¶
type Option func(s *Server)
func WithGRPCServer ¶
func WithGRPCServer(srv GRPCServer) Option
func WithHTTPServer ¶
func WithHTTPServer(srv HTTPServer) Option
type Server ¶
type Server struct { GRPCServer GRPCServer `inject:"grpc"` HTTPServer HTTPServer `inject:"http"` GinServer GinServer }
Click to show internal directories.
Click to hide internal directories.