Documentation
¶
Index ¶
- func GetInformationResponse() ([]byte, error)
- func GetJSONResponse(message string, alert string, status string, token string, httpStatus int) ([]byte, error)
- type InformationModel
- type LoginRequest
- type LoginWithTokenRequest
- type MessageModel
- type OutputUserStruct
- type PermissionModel
- type RowConfigModel
- type TableModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInformationResponse ¶
returns basic information
Types ¶
type InformationModel ¶
type LoginRequest ¶
login request struct
type LoginWithTokenRequest ¶
type LoginWithTokenRequest struct {
Username string `json:"username"`
Password string `json:"password"`
Token string `json:"token"`
}
login with token request
type MessageModel ¶
type OutputUserStruct ¶
type OutputUserStruct struct {
Username string `json:"username"`
Root bool `json:"root"`
Mail string `json:"mail"`
RegisterDate time.Time `json:"register_date"`
Status string `json:"status"`
}
struct for user as response
type PermissionModel ¶
type PermissionModel struct {
ID int `json:"ID"`
Name string `json:"name"`
Color string `json:"color"`
PermissionLevel int `json:"permission-level"`
}
permission model
type RowConfigModel ¶
table column config model
Click to show internal directories.
Click to hide internal directories.