ioc

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 26 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultMenus []menu.Menu = []menu.Menu{} /* 135 elements not displayed */

Functions

func GetAllMenuIDs added in v1.9.3

func GetAllMenuIDs() []int64

func GetInjectMenus added in v1.9.3

func GetInjectMenus() []menu.Menu

func InitEALERTGrpcClient added in v1.11.0

func InitEALERTGrpcClient(reg registry.Registry) grpc.ClientConnInterface

InitEALERTGrpcClient 初始化 EALERT gRPC 客户端

func InitRegistry added in v1.11.0

func InitRegistry(etcdClient *clientv3.Client) registry.Registry

InitRegistry 初始化统一的服务注册中心

func InitTemplateServiceClient added in v1.11.0

func InitTemplateServiceClient(cc grpc.ClientConnInterface) templatev1.TemplateServiceClient

InitTemplateServiceClient 初始化 template 服务客户端

Types

type App

type App struct {
	UserSvc       user.Service
	RoleSvc       role.Service
	MenuSvc       menu.Service
	PermissionSvc permission.Service

	VerSvc         version.Service
	BootstrapSvc   bootstrap.Service
	TemplateClient templatev1.TemplateServiceClient
	WorkflowSvc    workflow.Service
	GormDB         *gorm.DB
	DB             *mongox.Mongo
	// contains filtered or unexported fields
}

func InitApp

func InitApp() (*App, error)

Jump to

Keyboard shortcuts

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