Documentation ¶
Index ¶
- func ZipFiles(filesMap map[string]*bytes.Buffer) []byte
- type Handler
- func (h *Handler) AddClientsToProcess(c echo.Context) error
- func (h *Handler) AddUsersToProcess(c echo.Context) error
- func (h *Handler) CheckDBState() echo.MiddlewareFunc
- func (h *Handler) CheckRoleMiddleware() echo.MiddlewareFunc
- func (h *Handler) CreateOrganization(c echo.Context) error
- func (h *Handler) CreateUpdateOrganizationClient(c echo.Context) error
- func (h *Handler) CreateUser(c echo.Context) error
- func (h *Handler) DeleteClientsFromProcess(c echo.Context) error
- func (h *Handler) DeleteOrganization(c echo.Context) error
- func (h *Handler) DeleteOrganizationClient(c echo.Context) error
- func (h *Handler) DeleteUser(c echo.Context) error
- func (h *Handler) DeleteUsersFromProcess(c echo.Context) error
- func (h *Handler) ForgotPassword(c echo.Context) error
- func (h *Handler) GetAllRoles(c echo.Context) error
- func (h *Handler) GetClientTicket(c echo.Context) error
- func (h *Handler) GetOrgData(c echo.Context) error
- func (h *Handler) GetOrganizations(c echo.Context) error
- func (h *Handler) GetOrgs(c echo.Context) error
- func (h *Handler) GetPossibleClients(c echo.Context) error
- func (h *Handler) GetPossibleUsers(c echo.Context) error
- func (h *Handler) GetProcess(c echo.Context) error
- func (h *Handler) GetProcessData(c echo.Context) error
- func (h *Handler) GetProcesses(c echo.Context) error
- func (h *Handler) GetProfile(c echo.Context) error
- func (h *Handler) GetTicketSettings(c echo.Context) error
- func (h *Handler) GetTicketsType(c echo.Context) error
- func (h *Handler) GetTime(c echo.Context) error
- func (h *Handler) GetUserData(c echo.Context) error
- func (h *Handler) GetUserJWT(c echo.Context) (*ORM.Usuario, error)
- func (h *Handler) GetUserOrganizations(c echo.Context) error
- func (h *Handler) GetUserProcesses(c echo.Context) error
- func (h *Handler) GetUserTickets(c echo.Context) error
- func (h *Handler) GetUsers(c echo.Context) error
- func (h *Handler) Login(c echo.Context) error
- func (h *Handler) NewTicket(c echo.Context) error
- func (h *Handler) PatchJobHistory(c echo.Context) error
- func (h *Handler) PingAuth(c echo.Context) error
- func (h *Handler) PostIncidentDetails(c echo.Context) error
- func (h *Handler) RefreshDataBase(e *echo.Echo)
- func (h *Handler) UpdateExceptionJob(c echo.Context) error
- func (h *Handler) UpdateOrganization(c echo.Context) error
- func (h *Handler) UpdateOrganizationUser(c echo.Context) error
- func (h *Handler) UpdateProcess(c echo.Context) error
- func (h *Handler) UpdateProcessAlias(c echo.Context) error
- func (h *Handler) UpdateProfile(c echo.Context) error
- func (h *Handler) UpdateUipathProcess(c echo.Context) error
- func (h *Handler) UpdateUser(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct { DB *gorm.DB TokenKey string UniversalRoutes []string UserUniversalRoutes []string DBKey string }
func (*Handler) AddClientsToProcess ¶
Add clients to process
func (*Handler) AddUsersToProcess ¶
Add users to process, and if the user doesn't is in the organization, add it
func (*Handler) CheckDBState ¶
func (h *Handler) CheckDBState() echo.MiddlewareFunc
func (*Handler) CheckRoleMiddleware ¶
func (h *Handler) CheckRoleMiddleware() echo.MiddlewareFunc
func (*Handler) CreateOrganization ¶
func (*Handler) CreateUpdateOrganizationClient ¶
func (*Handler) CreateUser ¶
func (*Handler) DeleteClientsFromProcess ¶
Remove clients from process
func (*Handler) DeleteOrganization ¶
func (*Handler) DeleteOrganizationClient ¶
func (*Handler) DeleteUser ¶
func (*Handler) DeleteUsersFromProcess ¶
Remove users from process
func (*Handler) ForgotPassword ¶
func (*Handler) GetAllRoles ¶
func (*Handler) GetClientTicket ¶
GetClientTicket
func (*Handler) GetOrgData ¶
func (*Handler) GetOrganizations ¶
func (*Handler) GetPossibleClients ¶
GetPossibleClients returns all clients that can be added to a process, excluding the clients that are already in the process
func (*Handler) GetPossibleUsers ¶
GetPossibleUsers returns all users that can be added to a process, excluding the users that are already in the process
func (*Handler) GetProcess ¶
func (*Handler) GetProcessData ¶
func (*Handler) GetProcesses ¶
func (*Handler) GetProfile ¶
func (*Handler) GetTicketSettings ¶
func (*Handler) GetTicketsType ¶
func (*Handler) GetUserData ¶
GetUserData returns an excel file with the user data if there's more than 1 id in id query param separated by coma, it will return a zip with excel files of users requested
func (*Handler) GetUserOrganizations ¶
func (*Handler) GetUserProcesses ¶
func (*Handler) GetUserTickets ¶
func (*Handler) PatchJobHistory ¶
PatchJobHistory
func (*Handler) PostIncidentDetails ¶
func (*Handler) RefreshDataBase ¶
func (h *Handler) RefreshDataBase(e *echo.Echo)
func (*Handler) UpdateExceptionJob ¶
UpdateExceptionJob
func (*Handler) UpdateOrganization ¶
func (*Handler) UpdateOrganizationUser ¶
func (*Handler) UpdateProcess ¶
Update process (and check if the user has the role "processes_administration" or if the user is the owner of the process)