Documentation ¶
Index ¶
Constants ¶
View Source
const CollectService = ServiceProvider + ".Collect"
View Source
const CreateService = ServiceProvider + ".Create"
View Source
const DeleteService = ServiceProvider + ".Delete"
View Source
const RetrieveService = ServiceProvider + ".Retrieve"
View Source
const ServiceProvider = "HumanUser-RecordHandler"
View Source
const UpdateService = ServiceProvider + ".Update"
Variables ¶
View Source
var ClientAdminUserPermissions = []api.Permission{ CollectService, RetrieveService, }
View Source
var ClientUserPermissions = make([]api.Permission, 0)
View Source
var CompanyAdminUserPermissions = []api.Permission{ CollectService, RetrieveService, }
View Source
var CompanyUserPermissions = make([]api.Permission, 0)
View Source
var SystemUserPermissions = make([]api.Permission, 0)
Functions ¶
This section is empty.
Types ¶
type CollectRequest ¶
type CollectResponse ¶
type CreateRequest ¶
type CreateResponse ¶
type DeleteRequest ¶
type DeleteRequest struct { Claims claims.Claims Identifier identifier.Identifier }
type DeleteResponse ¶
type RecordHandler ¶
type RecordHandler interface { Create(request *CreateRequest) (*CreateResponse, error) Retrieve(request *RetrieveRequest) (*RetrieveResponse, error) Update(request *UpdateRequest) (*UpdateResponse, error) Delete(request *DeleteRequest) (*DeleteResponse, error) Collect(request *CollectRequest) (*CollectResponse, error) }
type RetrieveRequest ¶
type RetrieveRequest struct { Claims claims.Claims Identifier identifier.Identifier }
type RetrieveResponse ¶
type UpdateRequest ¶
type UpdateRequest struct { Claims claims.Claims Identifier identifier.Identifier User human.User }
type UpdateResponse ¶
Click to show internal directories.
Click to hide internal directories.