Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizedDevice ¶
AuthorizedDevice comprises device's authorization details.
type Iterator ¶
type Iterator interface { Err() error Next(v *AuthorizedDevice) bool Close() }
type PersistenceTx ¶
type PersistenceTx interface { Retrieve(deviceID, owner string) (_ *AuthorizedDevice, ok bool, err error) RetrieveByDevice(deviceID string) (_ *AuthorizedDevice, ok bool, err error) RetrieveByOwner(owner string) Iterator RetrieveAll() Iterator Persist(d *AuthorizedDevice) error Delete(deviceID, owner string) error Close() }
Click to show internal directories.
Click to hide internal directories.