server

package
v0.0.0-...-96f2668 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewHTTPServer)

ProviderSet is server providers.

Functions

func NewHTTPServer

func NewHTTPServer(
	cfg *conf.Bootstrap, logger log.Logger,
	authenticator authn.Authenticator, authorized authz.Authorized, creator authn.SecurityUserCreator,
	authnSvc *service.AuthService,
	userSvc *service.UserService,
	roleSvc *service.RoleService,
	postSvc *service.PostService,
	deptSvc *service.DeptService,
	menuSvc *service.MenuService,
) *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