recordHandler

package
v0.0.0-...-78e7222 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2019 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const CreateService = ServiceProvider + ".Create"
View Source
const RetrieveService = ServiceProvider + ".Retrieve"
View Source
const ServiceProvider = "Role-RecordHandler"
View Source
const UpdateService = ServiceProvider + ".Update"

Variables

View Source
var ClientAdminUserPermissions = make([]api2.Permission, 0)
View Source
var ClientUserPermissions = make([]api2.Permission, 0)
View Source
var CompanyAdminUserPermissions = make([]api2.Permission, 0)
View Source
var CompanyUserPermissions = make([]api2.Permission, 0)

Functions

This section is empty.

Types

type CreateRequest

type CreateRequest struct {
	Role role2.Role
}

type CreateResponse

type CreateResponse struct {
	Role role2.Role
}

type RecordHandler

type RecordHandler interface {
	Create(request *CreateRequest) (*CreateResponse, error)
	Retrieve(request *RetrieveRequest) (*RetrieveResponse, error)
	Update(request *UpdateRequest) (*UpdateResponse, error)
}

type RetrieveRequest

type RetrieveRequest struct {
	Identifier identifier.Identifier
}

type RetrieveResponse

type RetrieveResponse struct {
	Role role2.Role
}

type UpdateRequest

type UpdateRequest struct {
	Identifier identifier.Identifier
	Role       role2.Role
}

type UpdateResponse

type UpdateResponse struct {
	Role role2.Role
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL