server

package
v0.0.0-...-99f5b83 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is server providers.

Functions

func NewGRPCServer

func NewGRPCServer(c *conf.Server) *rpc.Server

NewGRPCServer new a gRPC server.

func NewHTTPServer

func NewHTTPServer(c *conf.Server, admin *service.AdminService, v1Srv *service.V1Service) *rest.Server

NewHTTPServer new a HTTP server.

func RegisterApiHTTPServer

func RegisterApiHTTPServer(httpSrv *http.Server, s *service.V1Service)

Types

This section is empty.

Jump to

Keyboard shortcuts

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