Documentation ¶
Index ¶
- type DeviceHandler
- type GroupHandler
- type ProfileHandler
- func (d *ProfileHandler) AddProfile(ctx *fasthttp.RequestCtx)
- func (d *ProfileHandler) AddProfileDevice(ctx *fasthttp.RequestCtx)
- func (d *ProfileHandler) AddProfileGroup(ctx *fasthttp.RequestCtx)
- func (d *ProfileHandler) ProfileList(ctx *fasthttp.RequestCtx)
- func (d *ProfileHandler) RemoveProfile(ctx *fasthttp.RequestCtx)
- func (d *ProfileHandler) RemoveProfileDevice(ctx *fasthttp.RequestCtx)
- func (d *ProfileHandler) RemoveProfileGroup(ctx *fasthttp.RequestCtx)
- type RelayHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceHandler ¶
type DeviceHandler struct {
// contains filtered or unexported fields
}
func NewDeviceHandler ¶
func NewDeviceHandler(s *core.Storage, a *auth.Authorization, db *db.Database, l *utils.Log) *DeviceHandler
func (*DeviceHandler) AddDevice ¶
func (d *DeviceHandler) AddDevice(ctx *fasthttp.RequestCtx)
func (*DeviceHandler) DeviceByDescription ¶
func (d *DeviceHandler) DeviceByDescription(ctx *fasthttp.RequestCtx)
func (*DeviceHandler) DeviceList ¶
func (d *DeviceHandler) DeviceList(ctx *fasthttp.RequestCtx)
func (*DeviceHandler) RemoveDevice ¶
func (d *DeviceHandler) RemoveDevice(ctx *fasthttp.RequestCtx)
type GroupHandler ¶
type GroupHandler struct {
// contains filtered or unexported fields
}
func NewGroupHandler ¶
func NewGroupHandler(a *auth.Authorization, l *utils.Log) *GroupHandler
func (*GroupHandler) Groups ¶
func (r *GroupHandler) Groups(ctx *fasthttp.RequestCtx)
type ProfileHandler ¶
type ProfileHandler struct {
// contains filtered or unexported fields
}
func NewProfileHandler ¶
func NewProfileHandler(s *core.Storage, a *auth.Authorization, db *db.Database, l *utils.Log) *ProfileHandler
func (*ProfileHandler) AddProfile ¶
func (d *ProfileHandler) AddProfile(ctx *fasthttp.RequestCtx)
func (*ProfileHandler) AddProfileDevice ¶
func (d *ProfileHandler) AddProfileDevice(ctx *fasthttp.RequestCtx)
func (*ProfileHandler) AddProfileGroup ¶
func (d *ProfileHandler) AddProfileGroup(ctx *fasthttp.RequestCtx)
func (*ProfileHandler) ProfileList ¶
func (d *ProfileHandler) ProfileList(ctx *fasthttp.RequestCtx)
func (*ProfileHandler) RemoveProfile ¶
func (d *ProfileHandler) RemoveProfile(ctx *fasthttp.RequestCtx)
func (*ProfileHandler) RemoveProfileDevice ¶
func (d *ProfileHandler) RemoveProfileDevice(ctx *fasthttp.RequestCtx)
func (*ProfileHandler) RemoveProfileGroup ¶
func (d *ProfileHandler) RemoveProfileGroup(ctx *fasthttp.RequestCtx)
type RelayHandler ¶
type RelayHandler struct {
// contains filtered or unexported fields
}
func NewRelayHandler ¶
func NewRelayHandler(s *core.Storage, a *auth.Authorization, l *utils.Log, db *db.Database) *RelayHandler
func (*RelayHandler) Devices ¶
func (r *RelayHandler) Devices(ctx *fasthttp.RequestCtx)
func (*RelayHandler) SetStatus ¶
func (r *RelayHandler) SetStatus(ctx *fasthttp.RequestCtx)
func (*RelayHandler) Status ¶
func (r *RelayHandler) Status(ctx *fasthttp.RequestCtx)
func (*RelayHandler) Switch ¶
func (r *RelayHandler) Switch(ctx *fasthttp.RequestCtx)
func (*RelayHandler) Update ¶
func (r *RelayHandler) Update(ctx *fasthttp.RequestCtx)
Click to show internal directories.
Click to hide internal directories.