Documentation ¶ Index ¶ Variables func AddRouter(grp RouterGrp, party router.Party, method HttpMethod, path, description string, ...) *router.Route func GetRouterSelectOptions() interface{} type HttpMethod type Router type RouterGrp func BuildGrp(name, description string) (RouterGrp, router.Party) Constants ¶ This section is empty. Variables ¶ View Source var IrisRouterMap = make(map[string]Router) Functions ¶ func AddRouter ¶ func AddRouter(grp RouterGrp, party router.Party, method HttpMethod, path, description string, saveOp bool, handlers ...context.Handler) *router.Route func GetRouterSelectOptions ¶ func GetRouterSelectOptions() interface{} Types ¶ type HttpMethod ¶ type HttpMethod int const ( GET HttpMethod = iota + 1 POST PUT DELETE ) type Router ¶ type Router struct { Path string `json:"path"` Description string `json:"description"` SaveOp bool `json:"saveOp"` } type RouterGrp ¶ type RouterGrp struct { Description string `json:"description"` } func BuildGrp ¶ func BuildGrp(name, description string) (RouterGrp, router.Party) Source Files ¶ View all Source files rm.go Click to show internal directories. Click to hide internal directories.