Documentation ¶
Index ¶
Constants ¶
View Source
const ( // API_PULL_ROUTER name of the interface used to register the pull route in the template API_PULL_ROUTER = "__API__PULL__" // API_PUSH_ROUTER name of the interface used to register the push route in the template API_PUSH_ROUTER = "__API__PUSH__" // MODEL name of the struct used to create model MODEL = "__MODEL__" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CtrlStruct ¶
CtrlStruct defined controller struct
type Handler ¶
Handler defined router handler
type Model ¶
type Project ¶
type Project struct { Name string ImprotPrefix string Types []*TypeStructGroup CtrlStructs map[string]*CtrlStruct PullApis []*Handler PushApis []*Handler Models map[string]*Model // contains filtered or unexported fields }
Project project Information
type TypeStruct ¶
type TypeStruct struct { Doc string Name string Body string // contains filtered or unexported fields }
TypeStruct defined struct in types directory
type TypeStructGroup ¶
type TypeStructGroup struct { Doc string Structs []*TypeStruct }
TypeStructGroup a group of defined types
Click to show internal directories.
Click to hide internal directories.