Documentation ¶
Index ¶
- Variables
- type Auth
- type AuthPure
- type Control
- type ControlClone
- type ControlEndpoint
- type ControlPure
- type ControlPureContent
- type Email
- type Endpoints
- type Folder
- type FolderPure
- type Group
- type GroupPure
- type Settings
- type SettingsPure
- type Template
- type TemplatePure
- type Test
- type TestPure
- type Token
- type TokenData
- type TokenDataBy
- type TokenPrivate
- type TokenPure
- type User
- type UserData
- type UserPrivate
- type UserPure
- type UserRequest
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TypePersonalAccessToken = "pat" TypeAccessToken = "login" )
Functions ¶
This section is empty.
Types ¶
type Control ¶
type Control struct { ControlPureContent apimodels.ModelCU }
type ControlClone ¶
type ControlEndpoint ¶
ControlEndpoint is representation of Endpoints json object.
type ControlPure ¶
type ControlPureContent ¶
type ControlPureContent struct { Content string `json:"content" swaggertype:"string" format:"base64" example:"aGVsbG8ge3submFtZX19Cg=="` ControlPure }
type Folder ¶
type Folder struct { FolderPure apimodels.ID }
type FolderPure ¶
type Settings ¶
type Settings struct { apimodels.ModelCUPure SettingsPure }
type SettingsPure ¶
type Template ¶
type Template struct { TemplatePure apimodels.ModelCU }
type TemplatePure ¶
type TestPure ¶
type TestPure struct {
Name string `json:"name" gorm:"uniqueIndex;not null" example:"userX"`
}
type TokenDataBy ¶
type TokenPrivate ¶
type TokenPrivate struct {
Token string `json:"token" gorm:"primarykey" example:"tokenJWT"`
}
type TokenPure ¶
type TokenPure struct { TokenPrivate TokenDataBy }
type UserPrivate ¶
type UserPrivate struct {
Password string `json:"password" gorm:"not null" example:"pass1234"`
}
type UserPure ¶
type UserPure struct { UserPrivate UserData }
type UserRequest ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.