server

package
v0.0.0-...-9bd63dd Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is server providers.

Functions

func NewGRPCServer

func NewGRPCServer(c *conf.Server, logger log.Logger, authService *service.AuthService) *grpc.Server

NewGRPCServer new a gRPC server.

func NewGinServer

func NewGinServer(authService *service.AuthService) *gin.Engine

func NewHTTPServer

func NewHTTPServer(c *conf.Server, logger log.Logger, authService *service.AuthService, router *gin.Engine) *http.Server

NewHTTPServer new a HTTP server.

func NewOAuthServer

func NewOAuthServer() *server.Server

Types

This section is empty.

Jump to

Keyboard shortcuts

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