Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { Port int // contains filtered or unexported fields }
func New ¶
func New(config *config.Config, grpcServer *grpc_server.Server, services []service.IServiceServer) (*Server, error)
Function creates gRPC server proxy to process REST HTTP requests on the [port] and proxy them onto gRPC server on [grpcServer] port.
Requests from the [port] will be redirected to the [grpcServer] port.
Click to show internal directories.
Click to hide internal directories.