Documentation
¶
Index ¶
- func AdminCreateAction(c *gin.Context)
- func AdminIndexAction(c *gin.Context)
- func AdminUpdateAction(c *gin.Context)
- func MapAction(c *gin.Context)
- func Routes(r *gin.RouterGroup)
- func UpdateSetting(id int64, key string, val string) bool
- type CreateParams
- type Item
- type Setting
- type SettingResp
- type UpdateItem
- type UpdateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminCreateAction ¶
func AdminIndexAction ¶
func AdminUpdateAction ¶
func Routes ¶
func Routes(r *gin.RouterGroup)
Types ¶
type CreateParams ¶
type CreateParams struct {
Data []Item `json:"data"`
}
type SettingResp ¶
type SettingResp struct { Id int64 Key string Val string CreatedAt utils.Timestamp UpdatedAt utils.Timestamp }
func (SettingResp) Fields ¶
func (sr SettingResp) Fields() []string
type UpdateItem ¶
type UpdateParams ¶
type UpdateParams struct {
Data []UpdateItem `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.