server

package
v0.0.0-...-f780273 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is server providers.

Functions

func NewGRPCServer

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

NewGRPCServer new a gRPC server.

func NewHTTPServer

func NewHTTPServer(c *conf.Server,
	authBiz *biz.AuthBiz,
	authSvc *service.AuthService,
	logger log.Logger) *http.Server

NewHTTPServer new an HTTP server.

func NewMiddleware

func NewMiddleware(authBiz *biz.AuthBiz, logger log.Logger) http.ServerOption

NewMiddleware 创建中间件

Types

This section is empty.

Jump to

Keyboard shortcuts

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