Documentation ¶
Index ¶
- Constants
- Variables
- func CheckHasInterface(t types.Type, interfaceNames []string) bool
- func CheckMatch(match public.Match, docFields []string, inFieldType types.Type, ...) bool
- func CheckParamMatch(matchParam []string, docFields []string) bool
- func RegisterCallBack(name string, ...)
- type CallBackTemplate
- type FileMsg
- type HandlerTemplate
- type PointTemplate
Constants ¶
View Source
const CallBackMark = "@CallBack"
View Source
const Casbin string = "Casbin"
Variables ¶
View Source
var FindPluginInterfaceMap = make(map[string]*types.Interface)
Functions ¶
func CheckMatch ¶
func CheckParamMatch ¶
func RegisterCallBack ¶
Types ¶
type CallBackTemplate ¶
type CallBackTemplate struct { Has bool Keys map[string]string Template HandlerTemplate }
func GetCallBackTemplate ¶
type HandlerTemplate ¶
type PointTemplate ¶
type PointTemplate struct { Name string Has bool Keys map[string]string BindBefor HandlerTemplate BindAfter HandlerTemplate }
func GetCasbinPluginTemplate ¶
Click to show internal directories.
Click to hide internal directories.