Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GatewayServer ¶
type GatewayServer struct {
// contains filtered or unexported fields
}
func NewGatewayServer ¶
func NewGatewayServer(service string, listenAddr, grpcAddr string, handlers []func(ctx context.Context, serveMux *runtime.ServeMux, clientConn *grpc.ClientConn) error) *GatewayServer
func (*GatewayServer) Run ¶
func (g *GatewayServer) Run() error
type GrpcServer ¶
type GrpcServer struct { LogLevel string ListenAddr string // contains filtered or unexported fields }
func NewGRPCServer ¶
func NewGRPCServer(listenAddr string, routes route.GRPCRouterRegister) *GrpcServer
func (*GrpcServer) Run ¶
func (m *GrpcServer) Run() error
func (*GrpcServer) Stop ¶
func (m *GrpcServer) Stop() error
Click to show internal directories.
Click to hide internal directories.