Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceProvider = "SigbugGPSReading-Validator"
View Source
const ValidateService = ServiceProvider + ".Validate"
Variables ¶
View Source
var ClientAdminUserPermissions = make([]api.Permission, 0)
View Source
var ClientUserPermissions = make([]api.Permission, 0)
View Source
var CompanyAdminUserPermissions = make([]api.Permission, 0)
View Source
var CompanyUserPermissions = make([]api.Permission, 0)
View Source
var SystemUserPermissions = []api.Permission{ ValidateService, }
Functions ¶
This section is empty.
Types ¶
type ValidateRequest ¶
type ValidateResponse ¶
type ValidateResponse struct {
ReasonsInvalid []reasonInvalid.ReasonInvalid
}
type Validator ¶
type Validator interface {
Validate(request *ValidateRequest) (*ValidateResponse, error)
}
Click to show internal directories.
Click to hide internal directories.