serve

package
v0.0.0-...-531b5da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gateway

func Gateway(mux *runtime.ServeMux) error

func GetAddrToGateway

func GetAddrToGateway(host string) string

Get an address to a gRPC-gateway interface using the standard port

func GetAddrToGrpc

func GetAddrToGrpc(host string) string

Get an address to a gRPC server using the standard port

func Grpc

func Grpc(svr *grpc.Server)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL