Documentation ¶
Index ¶
- Variables
- func AllCollections(projectId, collection, state, search string, page, rows int) (List, error)
- func AllFolders(state, search string, page, rows int) (List, error)
- func AllModuleProfiles(projectId, moduleId, state, search string, page, rows int) (List, error)
- func AllModules(state, search string, page, rows int, _select string) (List, error)
- func AllProjects(state, search string, page, rows int, _select string) (List, error)
- func AllStacks(projectId, search string, page, rows int) (List, error)
- func AllTypes(projectId, kind, state, search string, page, rows int, _select string) (List, error)
- func AllUsers(state, search string, page, rows int, _select string) (List, error)
- func CheckProfileFolder(moduleId, profileTp, folderId string, chk bool) (Item, error)
- func CheckProjectModule(project_id, module_id string, chk bool) (Item, error)
- func CheckRole(projectId, moduleId, profileTp, userId string, chk bool) (Item, error)
- func DefineCollection() error
- func DefineFolders() error
- func DefineHistorys() error
- func DefineModules() error
- func DefineProfileFolders() error
- func DefineProfiles() error
- func DefineProjectModules() error
- func DefineProjects() error
- func DefineRoles() error
- func DefineStacks() error
- func DefineTokens() error
- func DefineTypes() error
- func DefineUsers() error
- func DeleteCollection(collection, id string) (Item, error)
- func DeleteFolder(id string) (Item, error)
- func DeleteModule(id string) (Item, error)
- func DeleteProfile(moduleId, profileTp string) (Item, error)
- func DeleteProject(id string) (Item, error)
- func DeleteStack(id string) (Item, error)
- func DeleteToken(id string) (Item, error)
- func DeleteType(id string) (Item, error)
- func DeleteUser(id string) (Item, error)
- func GetCollectionById(collection, id string) (Item, error)
- func GetCollectionByIndex(collection string, idx int) (Item, error)
- func GetFolderById(id string) (Item, error)
- func GetFolderByName(moduleId, mainId, name string) (Item, error)
- func GetModuleById(id string) (Item, error)
- func GetModuleByName(name string) (Item, error)
- func GetProfile(userId string) (Item, error)
- func GetProfileById(moduleId, profileTp string) (Item, error)
- func GetProfileFolderById(moduleId, profileTp, folderId string) (Item, error)
- func GetProfileFolders(userId, projectId string) ([]Json, error)
- func GetProjectById(id string) (Item, error)
- func GetProjectByModule(projectId, moduleId string) (Item, error)
- func GetProjectModules(projectId, state, search string, page, rows int) (List, error)
- func GetProjectName(name string) (Item, error)
- func GetRoleById(projectId, moduleId, userId, profileTp string) (Item, error)
- func GetStackById(id string) (Item, error)
- func GetTokenById(id string) (Item, error)
- func GetTokensByUserId(userId, search string, page, rows int) (List, error)
- func GetTypeById(id string) (Item, error)
- func GetTypeByIndex(idx int) (Item, error)
- func GetTypeByName(kind, name string) (Item, error)
- func GetUserById(id string) (Item, error)
- func GetUserByName(name string) (Item, error)
- func GetUserModules(userId string) ([]Json, error)
- func GetUserProjects(userId string) ([]Json, error)
- func GetUserRoleByIndex(idx int) (Item, error)
- func InitAdmin(fullName, country, phone, email string) (Item, error)
- func InitFolder(moduleId, mainId, id, name, description string, data Json) (Item, error)
- func InitModule(id, name, description string, data Json) (Item, error)
- func InitModules() error
- func InitProfile(moduleId, profileTp string, data Json) (Item, error)
- func InitProject(id, name, description string, data Json) (Item, error)
- func InitType(projectId, id, state, kind, name, description string) (Item, error)
- func IsInit() (Item, error)
- func LoadTokens() error
- func SetStack(projectId, app, event string, data Json) (Item, error)
- func SetUser(name, password, fullName, phone, email string) (Item, error)
- func StateCollection(collection, id, state string) (Item, error)
- func StateFolder(id, state string) (Item, error)
- func StateModule(id, state string) (Item, error)
- func StateProject(id, state string) (Item, error)
- func StateType(id, state string) (Item, error)
- func StateUser(id, state string) (Item, error)
- func UnLoadTokens() error
- func UpSertCollection(collection, projectId, id string, data Json) (Item, error)
- func UpSetAdmin(fullName, country, phone, email string) (Item, error)
- func UpSetFolder(moduleId, mainId, name, description string, data Json) (Item, error)
- func UpSetModule(id, name, description string, data Json) (Item, error)
- func UpSetProfile(moduleId, profileTp string, data Json) (Item, error)
- func UpSetProfileTp(projectId, moduleId, id, name, description string, data Json) (Item, error)
- func UpSetProject(id, moduleId, name, description string, data Json) (Item, error)
- func UpSetToken(projeectId, id, app, device, name, userId string) (Item, error)
- func UpSetType(projectId, id, kind, name, description string) (Item, error)
- func UpdateUser(id, fullName, phone, email string, data Json) (Item, error)
- func WorkerStack(workerId, event string) (Item, error)
- type Collection
- type Token
Constants ¶
This section is empty.
Variables ¶
View Source
var Collections *Model
View Source
var Folders *Model
View Source
var Historys *Model
View Source
var Modules *Model
View Source
var ProfileFolders *Model
View Source
var Profiles *Model
View Source
var ProjectModules *Model
View Source
var Projects *Model
View Source
var Roles *Model
View Source
var Stacks *Model
View Source
var Tokens *Model
View Source
var Types *Model
View Source
var Users *Model
Functions ¶
func AllCollections ¶
func AllFolders ¶
func AllModuleProfiles ¶
func AllModules ¶
func AllProjects ¶
func CheckProfileFolder ¶
func CheckProjectModule ¶
func DefineCollection ¶
func DefineCollection() error
func DefineFolders ¶
func DefineFolders() error
func DefineHistorys ¶
func DefineHistorys() error
func DefineModules ¶
func DefineModules() error
func DefineProfileFolders ¶ added in v0.0.22
func DefineProfileFolders() error
func DefineProfiles ¶
func DefineProfiles() error
func DefineProjectModules ¶ added in v0.0.22
func DefineProjectModules() error
func DefineProjects ¶
func DefineProjects() error
func DefineRoles ¶
func DefineRoles() error
func DefineStacks ¶
func DefineStacks() error
func DefineTokens ¶
func DefineTokens() error
func DefineTypes ¶
func DefineTypes() error
func DefineUsers ¶
func DefineUsers() error
func DeleteCollection ¶
func DeleteFolder ¶
func DeleteModule ¶
func DeleteProfile ¶
func DeleteProject ¶
func DeleteStack ¶
func DeleteToken ¶
func DeleteType ¶
func DeleteUser ¶
func GetCollectionById ¶
* * Collection * Handler for CRUD data
func GetCollectionByIndex ¶
func GetFolderById ¶
func GetFolderByName ¶
* * Folder * Handler for CRUD data
func GetModuleById ¶
func GetModuleByName ¶
* * Module * Handler for CRUD data
func GetProfile ¶
func GetProfileById ¶
* * Profile * Handler for CRUD data *
func GetProfileFolderById ¶
func GetProfileFolders ¶
func GetProjectById ¶
* * Project * Handler for CRUD data
func GetProjectByModule ¶
func GetProjectModules ¶
func GetProjectName ¶
func GetRoleById ¶
* * Role * Handler for CRUD data
func GetStackById ¶
func GetTokenById ¶
func GetTokensByUserId ¶
func GetTypeById ¶
func GetTypeByIndex ¶
func GetTypeByName ¶
* * Types * Handler for CRUD data
func GetUserById ¶
func GetUserModules ¶
func GetUserProjects ¶
func GetUserRoleByIndex ¶
func InitFolder ¶
func InitModule ¶
func InitModules ¶
func InitModules() error
func InitProfile ¶
func InitProject ¶
func LoadTokens ¶
func LoadTokens() error
func StateCollection ¶
func StateFolder ¶
func StateModule ¶
func StateProject ¶
func UnLoadTokens ¶
func UnLoadTokens() error
func UpSertCollection ¶
func UpSetAdmin ¶
func UpSetFolder ¶
func UpSetModule ¶
func UpSetProfile ¶
func UpSetProfileTp ¶
func UpSetProject ¶
func UpSetToken ¶
func UpdateUser ¶
func WorkerStack ¶
Types ¶
type Collection ¶
func GetCollection ¶
func GetCollection(collection, id string) *Collection
func (*Collection) Int ¶
func (c *Collection) Int(atribs ...string) int
func (*Collection) Str ¶
func (c *Collection) Str(atribs ...string) string
Click to show internal directories.
Click to hide internal directories.