Documentation ¶
Index ¶
- type PSQL
- func (ps *PSQL) ChangeTaskStatus(taskID int, activeStatus bool) (err error)
- func (ps *PSQL) CreateDatabase(setStrings map[string]interface{}) (result sql.Result, err error)
- func (ps *PSQL) CreateTask(setStrings map[string]interface{}) (result sql.Result, err error)
- func (ps *PSQL) CreateUser(setStrings map[string]interface{}) (result sql.Result, err error)
- func (ps *PSQL) DeleteDatabase(databaseID int) (result sql.Result, err error)
- func (ps *PSQL) DeleteTask(taskId int) (result sql.Result, err error)
- func (ps *PSQL) DeleteUser(userID int) (result sql.Result, err error)
- func (ps *PSQL) GetDatabase(databaseId int) (database structs.APIDatabase, err error)
- func (ps *PSQL) GetDatabases(isActive string, dbType string) (databaseArr []structs.APIDatabase, err error)
- func (ps *PSQL) GetLastTaskID() (id int, err error)
- func (ps *PSQL) GetTask(taskId int, isSimple bool) (task structs.APITask, err error)
- func (ps *PSQL) GetTaskByName(taskName string) (task structs.APITask, err error)
- func (ps *PSQL) GetTasks(isActive string) (taskArr []structs.APITasks, err error)
- func (ps *PSQL) GetTasksCount() (taskStat structs.APITasksCount, err error)
- func (ps *PSQL) GetUser(userId int) (user structs.APIUser, err error)
- func (ps *PSQL) GetUserByToken(token string) (isExist bool, err error)
- func (ps *PSQL) GetUsers() (usersArr []structs.APIUser, err error)
- func (ps *PSQL) UpdateDatabase(databaseIDInt int, setStrings map[string]interface{}) (result sql.Result, err error)
- func (ps *PSQL) UpdateTask(taskIDInt int, setStrings map[string]interface{}) (result sql.Result, err error)
- func (ps *PSQL) UpdateUser(userIDInt int, setStrings map[string]interface{}) (result sql.Result, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PSQL ¶
func (*PSQL) ChangeTaskStatus ¶
func (*PSQL) CreateDatabase ¶
func (*PSQL) CreateTask ¶
func (*PSQL) CreateUser ¶
func (*PSQL) DeleteDatabase ¶
func (*PSQL) GetDatabase ¶
func (ps *PSQL) GetDatabase(databaseId int) (database structs.APIDatabase, err error)
func (*PSQL) GetDatabases ¶
func (*PSQL) GetLastTaskID ¶
func (*PSQL) GetTaskByName ¶
func (*PSQL) GetTasksCount ¶
func (ps *PSQL) GetTasksCount() (taskStat structs.APITasksCount, err error)
func (*PSQL) GetUserByToken ¶
func (*PSQL) UpdateDatabase ¶
func (*PSQL) UpdateTask ¶
Click to show internal directories.
Click to hide internal directories.