server

package
v0.0.0-...-a2aa5d8 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleExitServer

func HandleExitServer(conf *config.Config)

HandleExitServer Handle service exit event

func InitServer

func InitServer(conf *config.Config) (v1.PongServiceServer, error)

InitServer Inject service's component

func Run

func Run(cfg string)

Run Run service server

func RunGrpcServer

func RunGrpcServer(server v1.PongServiceServer, conf *config.Config)

RunGrpcServer Run grpc server

func RunHttpServer

func RunHttpServer(conf *config.Config)

RunHttpServer Run http server

Types

This section is empty.

Jump to

Keyboard shortcuts

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