module

package
v0.0.0-...-b92f783 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InitDBFunc

type InitDBFunc interface {
	Init() (err error)
}

InitDBFunc 数据化初始化接口

type WebModule

type WebModule struct {
	RelativePath string
	Handler      func(p iris.Party)
	Modules      []WebModule
}

WebModule web 模块结构 - RelativePath 关联路径 - Handler 模块 Handler - Modules 子模块

func NewModule

func NewModule(relativePath string, handler func(index iris.Party), modules ...WebModule) WebModule

NewModule 添加新的模块

func (*WebModule) GetModules

func (wm *WebModule) GetModules() []WebModule

GetModules 获取模块列表

Jump to

Keyboard shortcuts

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