Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HttpAndGrpcHandlerFunc ¶
type HttpAndGrpcHandlerOptions ¶ added in v0.2.0
type Server ¶
type Server struct { Port int GrpcMux *runtime.ServeMux GrpcServer *grpc.Server HttpServer *http.Server }
func NewServer ¶
func NewServer(config *ServerConfig) *Server
type ServerConfig ¶
type ServerConfig struct { Port int HttpAndGrpcHandlerFunc HttpAndGrpcHandlerFunc HandlerOptions *HttpAndGrpcHandlerOptions }
Click to show internal directories.
Click to hide internal directories.