android

package
v0.0.0-...-2921379 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2021 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AndroidDeviceState

func AndroidDeviceState(deviceState db.DeviceState) (state string)

func AndroidEnrollmentQR

func AndroidEnrollmentQR(srv *mattrax.Server, p *Protocol) http.HandlerFunc

func AndroidOrganisation

func AndroidOrganisation(srv *mattrax.Server, p *Protocol) http.HandlerFunc

func AndroidOrganisationCallback

func AndroidOrganisationCallback(srv *mattrax.Server, p *Protocol) http.HandlerFunc

func MattraxDeviceOwnership

func MattraxDeviceOwnership(deviceOwnership string) (ownership db.DeviceOwnership)

func MattraxDeviceState

func MattraxDeviceState(deviceState string) (state db.DeviceState)

func MattraxManagementScope

func MattraxManagementScope(deviceScope string) (scope db.ManagementScope)

Types

type Protocol

type Protocol struct {
	// contains filtered or unexported fields
}

Protocol contains the handlers for the Base protocol

func (*Protocol) Events

func (p *Protocol) Events() protocol.EventHandlers

func (*Protocol) ID

func (p *Protocol) ID() string

TODO: Unused remove

func (*Protocol) Init

func (p *Protocol) Init(srv *mattrax.Server) (err error)

func (*Protocol) Mount

func (p *Protocol) Mount(r *mux.Router) error

func (*Protocol) MountAPI

func (p *Protocol) MountAPI(r *mux.Router, rUnauthenticated *mux.Router) error

func (*Protocol) Status

func (p *Protocol) Status() (interface{}, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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