Documentation ¶
Index ¶
Constants ¶
View Source
const ( Page = 0 PerPage = 20 )
Default pagination
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Category ¶
type Category interface { V1AdminCategoriesGet(ctx context.Context, params api.V1AdminCategoriesGetParams) (api.V1AdminCategoriesGetRes, error) V1AdminCategoriesPost(ctx context.Context, req *api.CategoryPost) (api.V1AdminCategoriesPostRes, error) V1AdminCategoriesIDDelete(ctx context.Context, params api.V1AdminCategoriesIDDeleteParams) (api.V1AdminCategoriesIDDeleteRes, error) V1AdminCategoriesIDPut(ctx context.Context, req *api.CategoryPut, params api.V1AdminCategoriesIDPutParams) (api.V1AdminCategoriesIDPutRes, error) }
type Handler ¶
func NewHandler ¶
func NewHandler(params HandlerParams) *Handler
type HandlerParams ¶
Click to show internal directories.
Click to hide internal directories.