server

package
v0.0.0-...-d609259 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is server providers.

Functions

func NewGRPCServer

func NewGRPCServer(m cmux.CMux, c *conf.Server, logger log.Logger) *grpc.Server

NewGRPCServer new a gRPC server.

func NewHTTPServer

func NewHTTPServer(m cmux.CMux, c *conf.Server, logger log.Logger) *http.Server

NewHTTPServer new a HTTP server.

func NewMux

func NewMux(conf *conf.Server) cmux.CMux

func NewRegistarar

func NewRegistarar(conf *conf.Registry, logger log.Logger) registry.Registrar

Types

This section is empty.

Jump to

Keyboard shortcuts

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