Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceProvider = "Company-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 = []api.Permission{ ValidateService, }
View Source
var CompanyUserPermissions = make([]api.Permission, 0)
View Source
var SystemUserPermissions = make([]api.Permission, 0)
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.