Documentation ¶
Index ¶
- func Gateway(mux *runtime.ServeMux) error
- func GetAddrToGateway(host string) string
- func GetAddrToGrpc(host string) string
- func Grpc(svr *grpc.Server)
- func NewGatewayServeBase(cfg *config.SharedConfig) (*runtime.ServeMux, []grpc.DialOption)
- func NewGrpcServeBase(cfg *config.SharedConfig) *grpc.Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAddrToGateway ¶
Get an address to a gRPC-gateway interface using the standard port
func GetAddrToGrpc ¶
Get an address to a gRPC server using the standard port
func NewGatewayServeBase ¶
func NewGatewayServeBase(cfg *config.SharedConfig) (*runtime.ServeMux, []grpc.DialOption)
func NewGrpcServeBase ¶
func NewGrpcServeBase(cfg *config.SharedConfig) *grpc.Server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.