Documentation ¶
Index ¶
Constants ¶
View Source
const CreateService = ServiceProvider + ".Create"
View Source
const ServiceProvider = "SigbugGPSReading-Administrator"
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{ CreateService, }
Functions ¶
This section is empty.
Types ¶
type Administrator ¶
type Administrator interface {
Create(request *CreateRequest) (*CreateResponse, error)
}
type CreateRequest ¶
type CreateRequest struct { Claims claims.Claims Reading sigbugGPSReading.Reading }
type CreateResponse ¶
type CreateResponse struct {
Reading sigbugGPSReading.Reading
}
type UpdateAllowedFieldsRequest ¶
type UpdateAllowedFieldsRequest struct { Claims claims.Claims Reading sigbugGPSReading.Reading }
type UpdateAllowedFieldsResponse ¶
type UpdateAllowedFieldsResponse struct {
Reading sigbugGPSReading.Reading
}
Click to show internal directories.
Click to hide internal directories.