Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnInfo ¶ added in v0.0.36
type ColumnInfos ¶ added in v0.0.36
type ColumnInfos []ColumnInfo
func (ColumnInfos) HasField ¶ added in v0.0.36
func (columns ColumnInfos) HasField(field string) bool
type HandleFunc ¶
HandleFunc defines the handler used by gin middleware as return value.
type HandleMap ¶
type HandleMap map[string]HandleFunc
type Options ¶ added in v0.0.12
type Options struct { Handles HandleMap ModelMapper map[string]interface{} OnBeforeStart func(eng *gin.Engine, config *config.AppConfig) OnUpload func(ctx *gin.Context, filename string, bytes []byte, config *config.AppConfig) (bool, string) OnDownload func(ctx *gin.Context, filename string, file interface{}, config *config.AppConfig) bool OnCreate func(ctx *gin.Context, params *map[string]interface{}, config *config.AppConfig) bool OnUpdate func(ctx *gin.Context, params *map[string]interface{}, config *config.AppConfig) bool OnRead func(ctx *gin.Context, data *entity.Result, config *config.AppConfig) bool OnDelete func(ctx *gin.Context, params *map[string]interface{}, config *config.AppConfig) bool DisableFastApi bool }
Click to show internal directories.
Click to hide internal directories.