Documentation ¶
Index ¶
- Constants
- type ACL
- func (a *ACL) Compare(impl uhppoted.IUHPPOTED, request []byte) (interface{}, error)
- func (a *ACL) Download(impl uhppoted.IUHPPOTED, request []byte) (interface{}, error)
- func (a *ACL) Grant(impl uhppoted.IUHPPOTED, request []byte) (interface{}, error)
- func (a *ACL) Revoke(impl uhppoted.IUHPPOTED, request []byte) (interface{}, error)
- func (a *ACL) Show(impl uhppoted.IUHPPOTED, request []byte) (interface{}, error)
- func (a *ACL) Upload(impl uhppoted.IUHPPOTED, request []byte) (interface{}, error)
- type Permission
- type Permissions
- type Report
- type Verification
Constants ¶
View Source
const ( StatusInternalServerError = uhppoted.StatusInternalServerError StatusBadRequest = uhppoted.StatusBadRequest )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACL ¶
type ACL struct { UHPPOTE uhppote.IUHPPOTE Devices []uhppote.Device RSA *auth.RSA Credentials *credentials.Credentials Region string Verify map[Verification]bool }
type Permission ¶
type Permissions ¶
type Permissions struct { CardNumber uint32 `json:"card-number"` Permissions []Permission `json:"permissions"` }
type Verification ¶ added in v0.8.2
type Verification int
const ( None Verification = iota NotEmpty RSA )
func (Verification) String ¶ added in v0.8.2
func (v Verification) String() string
Click to show internal directories.
Click to hide internal directories.