Documentation ¶
Index ¶
- type Case
- type Handler
- func (h *Handler) Detail(ctx *ginx.Context, req Sid) (ginx.Result, error)
- func (h *Handler) DetailRefs(ctx *ginx.Context, req Sid) (ginx.Result, error)
- func (h *Handler) List(ctx *ginx.Context, page Page) (ginx.Result, error)
- func (h *Handler) Permission(ctx *ginx.Context, sess session.Session) (ginx.Result, error)
- func (h *Handler) PrivateRoutes(server *gin.Engine)
- func (h *Handler) PublicRoutes(server *gin.Engine)
- func (h *Handler) RefsByLevelIDs(ctx *ginx.Context, req IDs) (ginx.Result, error)
- func (h *Handler) Save(ctx *ginx.Context, req SaveReq) (ginx.Result, error)
- func (h *Handler) SaveRefs(ctx *ginx.Context, req SaveReq) (ginx.Result, error)
- type IDs
- type Page
- type Question
- type SaveReq
- type Sid
- type Skill
- type SkillLevel
- type SkillList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) DetailRefs ¶
func (*Handler) Permission ¶
func (*Handler) PrivateRoutes ¶
func (*Handler) PublicRoutes ¶
func (*Handler) RefsByLevelIDs ¶
type Skill ¶
type Skill struct { ID int64 `json:"id,omitempty"` Labels []string `json:"labels,omitempty"` Name string `json:"name,omitempty"` Desc string `json:"desc,omitempty"` Basic SkillLevel `json:"basic,omitempty"` Intermediate SkillLevel `json:"intermediate,omitempty"` Advanced SkillLevel `json:"advanced,omitempty"` Utime string `json:"utime,omitempty"` }
type SkillLevel ¶
Click to show internal directories.
Click to hide internal directories.