Documentation ¶
Index ¶
- type Accounts
- func (m *Accounts) ActiveShares(_ context.Context, username string) ([]string, error)
- func (m *Accounts) Create(_ context.Context, username string) (service.Account, error)
- func (m *Accounts) Find(_ context.Context, username string) (service.Account, error)
- func (m *Accounts) HealthCheck() service.HealthCheck
- func (m *Accounts) IsShared(ctx context.Context, username string, share string) error
- func (m *Accounts) Revoke(_ context.Context, username string, shareCode string) error
- func (m *Accounts) Share(_ context.Context, username string) (string, error)
- type Devices
- func (r *Devices) AddDevice(_ context.Context, account service.Account, id service.DeviceID, ...) (service.Device, error)
- func (r *Devices) DeleteDevice(_ context.Context, account service.Account, id service.DeviceID) error
- func (r *Devices) GetDevice(_ context.Context, account service.Account, id service.DeviceID) (service.Device, error)
- func (r *Devices) GetDevices(_ context.Context, account service.Account) (map[service.DeviceID]service.Device, error)
- func (r *Devices) HealthCheck() service.HealthCheck
- type Module
- type Modules
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accounts ¶
type Accounts struct {
// contains filtered or unexported fields
}
func NewAccounts ¶
func NewAccounts() *Accounts
func (*Accounts) ActiveShares ¶
func (*Accounts) HealthCheck ¶
func (m *Accounts) HealthCheck() service.HealthCheck
type Devices ¶
type Devices struct {
// contains filtered or unexported fields
}
func NewDevices ¶
func NewDevices() *Devices
func (*Devices) DeleteDevice ¶ added in v0.2.1
func (*Devices) GetDevices ¶ added in v0.2.1
func (*Devices) HealthCheck ¶
func (r *Devices) HealthCheck() service.HealthCheck
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
func ModuleFromBytes ¶
type Modules ¶
type Modules struct {
// contains filtered or unexported fields
}
func NewModules ¶
func NewModules() *Modules
func (*Modules) DeleteByPattern ¶ added in v0.4.0
func (*Modules) HealthCheck ¶
func (m *Modules) HealthCheck() service.HealthCheck
Click to show internal directories.
Click to hide internal directories.