Documentation
¶
Index ¶
Constants ¶
View Source
const API_BANDWIDTH_LIMIT_REACHED = "api bandwidth limit reached"
View Source
const API_CALL_LIMIT_REACHED = "api call limit reached"
View Source
const MEDIA_BANDWIDTH_LIMIT_REACHED = "media bandwidth limit reached"
View Source
const MEDIA_STORAGE_LIMIT_REACHED = "media storage limit reached"
View Source
const MODEL_IS_REQUIRED = "model is required"
View Source
const MODEL_NAME_REQUIRED = "model name is required"
View Source
const NEW_MODEL_NAME_REQUIRED = "new model name is required"
View Source
const NO_PROJECT_FOUND = "no project found"
View Source
const NUMBER_OF_RECORD_LIMIT_REACHED = "number of record limit reached"
View Source
const ROLE_IS_REQUIRED = "role is required"
Variables ¶
View Source
var ErrProjectAuthUsersUnsupported = errors.New("project auth users are not supported for this project database engine")
ErrProjectAuthUsersUnsupported is returned when the active project DB driver does not implement app-user auth CRUD.
View Source
var ErrProjectDuplicate = errors.New("project already exists")
ErrProjectDuplicate is used when persisting a project fails due to an existing id or unique constraint (e.g. MongoDB E11000).
View Source
var ErrProjectFilesUnsupported = errors.New("project files are not supported for this project database engine")
ErrProjectFilesUnsupported is returned when the active project DB driver does not implement file metadata CRUD.
View Source
var ErrProjectNameTaken = errors.New("project name already exists")
ErrProjectNameTaken is returned by ApitoSystemDB.CheckProjectName when the name is already in use.
View Source
var ErrProjectUsersUnsupported = errors.New("project users are not supported for this system database engine")
ErrProjectUsersUnsupported is returned when the active system DB driver does not implement project user CRUD.
View Source
var InvalidToken = fmt.Errorf("invalid token")
View Source
var LOGIN_CONFICT = errors.New("login conflict")
View Source
var ModelTypeNotFound = fmt.Errorf("model type not found")
View Source
var NotAllowed = fmt.Errorf("you are not allowed to perform this operation")
View Source
var ProjectIdRequired = fmt.Errorf("project id required")
core
View Source
var SchemaIsNil = fmt.Errorf("create a model first")
View Source
var TokenIsRequired = fmt.Errorf("token is required")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.