Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImportTypesEndpoints ¶
func ImportTypesEndpoints(config config.Config, control Controller, router *httprouter.Router)
Types ¶
type Controller ¶
type Controller interface { ReadImportType(id string, jwt auth.Token) (result model.ImportType, err error, errCode int) CheckAccessToImportType(jwt auth.Token, id string, action model.AuthAction) (err error, code int) CreateImportType(importType model.ImportType, jwt auth.Token) (result model.ImportType, err error, code int) SetImportType(importType model.ImportType, jwt auth.Token) (err error, code int) DeleteImportType(id string, jwt auth.Token) (err error, errCode int) }
Click to show internal directories.
Click to hide internal directories.