administrator

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 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
}

Directories

Path Synopsis
adaptor

Jump to

Keyboard shortcuts

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