Documentation ¶
Index ¶
- Variables
- func AllFolders(state, search string, page, rows int) (e.List, error)
- func AllModuleProfiles(projectId, moduleId, state, search string, page, rows int) (e.List, error)
- func AllModules(state, search string, page, rows int, _select string) (e.List, error)
- func AllProjects(state, search string, page, rows int, _select string) (e.List, error)
- func AllTypes(projectId, kind, state, search string, page, rows int, _select string) (e.List, error)
- func AllUsers(state, search string, page, rows int, _select string) (e.List, error)
- func CheckProfileFolder(moduleId, profileTp, folderId string, chk bool) (e.Item, error)
- func CheckProjectModule(project_id, module_id string, chk bool) (e.Item, error)
- func CheckRole(projectId, moduleId, profileTp, userId string, chk bool) (e.Item, error)
- func DefineFolders() error
- func DefineHistorys() error
- func DefineModule() error
- func DefineModules() error
- func DefineProfileFolders() error
- func DefineProfiles() error
- func DefineProjectModules() error
- func DefineProjects() error
- func DefineRoles() error
- func DefineSchemaModule() error
- func DefineTokens() error
- func DefineTypes() error
- func DefineUsers() error
- func DeleteFolder(id string) (e.Item, error)
- func DeleteModule(id string) (e.Item, error)
- func DeleteProfile(moduleId, profileTp string) (e.Item, error)
- func DeleteProject(id string) (e.Item, error)
- func DeleteToken(id string) (e.Item, error)
- func DeleteType(id string) (e.Item, error)
- func DeleteUser(id string) (e.Item, error)
- func GetFolderById(id string) (e.Item, error)
- func GetFolderByName(moduleId, mainId, name string) (e.Item, error)
- func GetModuleById(id string) (e.Item, error)
- func GetModuleByName(name string) (e.Item, error)
- func GetProfile(userId string) (e.Item, error)
- func GetProfileById(moduleId, profileTp string) (e.Item, error)
- func GetProfileFolderById(moduleId, profileTp, folderId string) (e.Item, error)
- func GetProfileFolders(userId, projectId string) ([]e.Json, error)
- func GetProjectById(id string) (e.Item, error)
- func GetProjectByModule(projectId, moduleId string) (e.Item, error)
- func GetProjectModules(projectId, state, search string, page, rows int) (e.List, error)
- func GetProjectName(name string) (e.Item, error)
- func GetRoleById(projectId, moduleId, userId, profileTp string) (e.Item, error)
- func GetTokenById(id string) (e.Item, error)
- func GetTokensByUserId(userId, search string, page, rows int) (e.List, error)
- func GetTypeById(id string) (e.Item, error)
- func GetTypeByIndex(idx int) (e.Item, error)
- func GetTypeByName(kind, name string) (e.Item, error)
- func GetUserById(id string) (e.Item, error)
- func GetUserByName(name string) (e.Item, error)
- func GetUserModules(userId string) ([]e.Json, error)
- func GetUserProjects(userId string) ([]e.Json, error)
- func GetUserRoleByIndex(idx int) (e.Item, error)
- func InitAdmin(fullName, country, phone, email string) (e.Item, error)
- func InitDefine() error
- func InitFolder(moduleId, mainId, id, name, description string, data e.Json) (e.Item, error)
- func InitModule(id, name, description string, data e.Json) (e.Item, error)
- func InitProfile(moduleId, profileTp string, data e.Json) (e.Item, error)
- func InitProject(id, name, description string, data e.Json) (e.Item, error)
- func InitType(projectId, id, state, kind, name, description string) (e.Item, error)
- func IsInit() (e.Item, error)
- func LoadTokens() error
- func SetUser(name, password, fullName, phone, email string) (e.Item, error)
- func StateFolder(id, state string) (e.Item, error)
- func StateModule(id, state string) (e.Item, error)
- func StateProject(id, state string) (e.Item, error)
- func StateType(id, state string) (e.Item, error)
- func StateUser(id, state string) (e.Item, error)
- func UnLoadTokens() error
- func UpSetAdmin(fullName, country, phone, email string) (e.Item, error)
- func UpSetFolder(moduleId, mainId, name, description string, data e.Json) (e.Item, error)
- func UpSetModule(id, name, description string, data e.Json) (e.Item, error)
- func UpSetProfile(moduleId, profileTp string, data e.Json) (e.Item, error)
- func UpSetProfileTp(projectId, moduleId, id, name, description string, data e.Json) (e.Item, error)
- func UpSetProject(id, moduleId, name, description string, data e.Json) (e.Item, error)
- func UpSetToken(projeectId, id, app, device, name, userId string) (e.Item, error)
- func UpSetType(projectId, id, kind, name, description string) (e.Item, error)
- func UpdateUser(id, fullName, phone, email string, data e.Json) (e.Item, error)
- type Token
Constants ¶
This section is empty.
Variables ¶
View Source
var Folders *linq.Model
View Source
var Historys *linq.Model
View Source
var Modules *linq.Model
View Source
var ProfileFolders *linq.Model
View Source
var Profiles *linq.Model
View Source
var ProjectModules *linq.Model
View Source
var Projects *linq.Model
View Source
var Roles *linq.Model
View Source
var SchemaModule *linq.Schema
View Source
var Tokens *linq.Model
View Source
var Types *linq.Model
View Source
var Users *linq.Model
Functions ¶
func AllModuleProfiles ¶
func AllModules ¶
func AllProjects ¶
func CheckProfileFolder ¶
func CheckProjectModule ¶
func DefineFolders ¶
func DefineFolders() error
func DefineHistorys ¶
func DefineHistorys() error
func DefineModule ¶ added in v0.0.73
func DefineModule() 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 DefineSchemaModule ¶ added in v0.0.53
func DefineSchemaModule() error
func DefineTokens ¶
func DefineTokens() error
func DefineTypes ¶
func DefineTypes() error
func DefineUsers ¶
func DefineUsers() error
func GetFolderByName ¶
* * Folder * Handler for CRUD data
func GetModuleByName ¶
* * Module * Handler for CRUD data
func GetProfileById ¶
* * Profile * Handler for CRUD data *
func GetProfileFolderById ¶
func GetProjectById ¶
* * Project * Handler for CRUD data
func GetProjectModules ¶
func GetRoleById ¶
* * Role * Handler for CRUD data
func GetTokensByUserId ¶
func GetTypeByName ¶
* * Types * Handler for CRUD data
func GetUserByName ¶
* * User * Handler for CRUD data
func InitDefine ¶ added in v0.0.75
func InitDefine() error
func InitFolder ¶
func LoadTokens ¶
func LoadTokens() error
func UnLoadTokens ¶
func UnLoadTokens() error
func UpSetFolder ¶
func UpSetProfileTp ¶
func UpSetProject ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.