Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct { ModuleName string ModuleVersion string ModuleConfig *viper.Viper ModuleDepends []string // depend modules ModuleEnv map[string]any // unexported functions or variables, only accessible to system ModuleExport map[string]any // exported functions or variables, accessible to all modules ModuleRoute string // route prefix ModulePerm map[string]string EntryPoint func(mctx *ModuleContext) }
type ModuleContext ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
Click to show internal directories.
Click to hide internal directories.