server

package
v0.0.0-...-1b17b00 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewAdminServer)

Functions

This section is empty.

Types

type AdminServer

type AdminServer struct {
	// contains filtered or unexported fields
}

func NewAdminServer

func NewAdminServer(
	conf *conf.ServerConf,
	stressService *service.StressService,
	userService *service.UserService,
	loginService *service.LoginService,
	casbinService *service.CasbinService,
	menuService *service.MenuService,
	roleService *service.RoleService,
	nodeService *service.NodeService,
) *AdminServer

func (*AdminServer) Init

func (s *AdminServer) Init(ctx context.Context) error

func (*AdminServer) Run

func (s *AdminServer) Run(ctx context.Context, cleanUp ...func()) error

Jump to

Keyboard shortcuts

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