server

package
v0.0.0-...-d1760a8 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewHTTPServer)

ProviderSet is server providers.

Functions

func EncoderResponse

func EncoderResponse() http.EncodeResponseFunc

func NewGRPCServer

func NewGRPCServer(c *conf.Server, sysuser *service.SysuserService, logger log.Logger) *grpc.Server

NewGRPCServer new a gRPC server.

func NewHTTPServer

func NewHTTPServer(
	c *conf.Server,
	s *conf.Auth,
	casbinRepo biz.CasbinRuleRepo,
	logger log.Logger,
	sysUserService *service.SysuserService,
	apiService *service.ApiService,
	deptService *service.DeptService,
	menusService *service.MenusService,
	postService *service.PostService,
	dictTypeService *service.DictTypeService,
	dictDataService *service.DictDataService,
	roleService *service.RolesService,
) *http.Server

NewHTTPServer new an 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