Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultLimit uint = 100 DefaultSkip uint = 0 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateGroupInput ¶
type CreateGroupInput struct {
Name string `validate:"required"`
}
func (CreateGroupInput) Validate ¶
func (input CreateGroupInput) Validate() error
type CreateUserInput ¶
type CreateUserInput struct { Email string `validate:"required,email"` Password string `validate:"required,min=8"` GroupId uint }
func (CreateUserInput) HasGroup ¶
func (input CreateUserInput) HasGroup() bool
func (CreateUserInput) Validate ¶
func (input CreateUserInput) Validate() error
type FindSnapshotQuery ¶
type FindSnapshotQuery struct { Backup uint `json:"backup"` Agent uint `json:"agent"` Tag string `json:"tag"` Limit uint `json:"limit"` Skip uint `json:"skip"` }
func (*FindSnapshotQuery) Init ¶
func (f *FindSnapshotQuery) Init()
type SnapshotWithTotal ¶
Click to show internal directories.
Click to hide internal directories.