Documentation ¶
Index ¶
Constants ¶
View Source
const (
OnlyFuncName = "Plugin"
)
Variables ¶
View Source
var ManagementPlugin = managementPlugin{/* contains filtered or unexported fields */}
Functions ¶
Types ¶
type Plugin ¶
type Plugin interface { // Register 注册路由 Register(group *gin.RouterGroup) // RouterPath 用户返回注册路由 RouterPath() string }
Plugin 插件模式接口化
Click to show internal directories.
Click to hide internal directories.