Documentation ¶
Index ¶
Constants ¶
View Source
const CreateApiTokenRequest = `
{
"email": "test@test.test",
"password": "test",
"token_name": "test",
"token_description": "test description"
}
`
View Source
const CreateApiTokenResponse = `
{
"token": "1"
}
`
View Source
const CreateRequest = `
{
"email": "test@test.test",
"password": "test"
}
`
View Source
const CreateResponse = `
{
"user_id": 1
}
`
View Source
const UserAssignmentsRequest = `
{
"client_id": 8,
"project_id": null,
"role": "ClientAdministrator",
"user_id": 777
}
`
View Source
const UserAssignmentsResponse = `
{
"client_id": 8,
"id": 12,
"project_id": null,
"role": "ClientAdministrator",
"user_id": 777
}
`
Variables ¶
View Source
var ( User1 = users.User{UserID: 1} Token1 = users.ApiToken{Token: "1"} UA1 = users.UserAssignment{ ClientID: &clientID, ID: 12, Role: "ClientAdministrator", UserID: 777, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.