Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNameInvalid = errors.New("name is empty")
)
example
View Source
var ( // ErrNoRow ErrNoRow = errors.New("no rows in result set") )
Functions ¶
func ContainerStart ¶
ContainerStart
Types ¶
type Account ¶
type Account struct { ID int `json:"id" example:"1" format:"int64"` Name string `json:"name" example:"account name"` UUID uuid.UUID `json:"uuid" example:"550e8400-e29b-41d4-a716-446655440000" format:"uuid"` }
Account
type AddAccount ¶
type AddAccount struct {
Name string `json:"name" example:"account name"`
}
AddAccount
type Container ¶
type Container struct { ID string `json:"id" example:"25fe01fcafc5"` Image string `json:"image" example:"alpine"` Status string `json:"status" example:"Running"` }
Container
type UpdateAccount ¶
type UpdateAccount struct {
Name string `json:"name" example:"account name"`
}
UpdateAccount
Click to show internal directories.
Click to hide internal directories.