Versions in this module Expand all Collapse all v1 v1.0.4 Oct 20, 2020 Changes in this version type Config + Prefix string v1.0.3 Oct 19, 2020 Changes in this version + func AddData(ctx iris.Context) + func DeleteData(ctx iris.Context) + func EditData(ctx iris.Context) + func GetAllFunc(ctx iris.Context) + func GetSingle(ctx iris.Context) + func IsNum(s string) bool + type Api struct + Config *Config + ModelLists []modelInfo + func New(c Config) *Api + func (c *Api) Run() + type Config struct + App *iris.Application + Engine *xorm.Engine + StructList []interface{} + type DeleteProcess interface + ApiDelete func(ctx iris.Context) + type DisableMethodsProcess interface + ApiDisableMethods func() []string + type GetAllPreMiddlewareProcess interface + ApiGetAllPreMiddleware func(ctx iris.Context) + type GetAllProcess interface + ApiGetAll func(ctx iris.Context) + type GetSinglePreMiddlewareProcess interface + ApiGetSinglePreMiddleware func(ctx iris.Context) + type GetSingleProcess interface + ApiGetSingle func(ctx iris.Context) + type GlobalPreMiddlewareProcess interface + ApiGlobalPreMiddleware func(ctx iris.Context) + type PostPreMiddlewareProcess interface + ApiPostPreMiddleware func(ctx iris.Context) + type PostProcess interface + ApiPost func(ctx iris.Context) + type PrivateAccessProcess interface + ApiPrivateContextKey func() string + ApiPrivateTableColName func() string + type PutDeleteMiddlewareProcess interface + ApiDeletePreMiddleware func(ctx iris.Context) + type PutPreMiddlewareProcess interface + ApiPutPreMiddleware func(ctx iris.Context) + type PutProcess interface + ApiPut func(ctx iris.Context) + type TableFieldsResp struct + AutoIncrement string + Created map[string]bool + Deleted string + Fields []structInfo + Updated string + Version string