Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alert ¶
type Alert interface { List(ctx context.Context, request *gen.ListAlertsRequest) (*gen.ListAlertsResponse, error) Create(ctx context.Context, request *gen.CreateAlertRequest) (*gen.CreateAlertResponse, error) Update(ctx context.Context, request *gen.UpdateAlertRequest) (*gen.UpdateAlertResponse, error) Delete(ctx context.Context, request *gen.DeleteAlertRequest) (*gen.DeleteAlertResponse, error) }
type Device ¶
type Device interface { GetDevices(ctx context.Context, request *gen.ListDevicesRequest) (*gen.ListDevicesResponse, error) AddDevice(ctx context.Context, request *gen.CreateDeviceRequest) (*gen.CreateDeviceResponse, error) UpdateDevice(ctx context.Context, request *gen.UpdateDeviceRequest) (*gen.UpdateDeviceResponse, error) DeleteDevice(ctx context.Context, request *gen.DeleteDeviceRequest) (*gen.DeleteDeviceResponse, error) }
type Ownership ¶
type Ownership interface { AddMember(ctx context.Context, request *gen.AddMemberRequest) (*gen.AddMemberResponse, error) ListMembers(ctx context.Context, request *gen.ListMembersRequest) (*gen.ListMembersResponse, error) RemoveMember(ctx context.Context, request *gen.RemoveMemberRequest) (*gen.RemoveMemberResponse, error) }
type Phone ¶
type Phone interface { Add(ctx context.Context, request *gen.AddPhoneRequest) (*gen.AddPhoneResponse, error) Remove(ctx context.Context, request *gen.RemovePhoneRequest) (*gen.RemovePhoneResponse, error) }
type Procedures ¶
func NewProcedures ¶
func NewProcedures(services service.Services) Procedures
type Reading ¶
type Reading interface {
List(ctx context.Context, request *gen.ListReadingsRequest) (*gen.ListReadingsResponse, error)
}
type User ¶
type User interface { Login(request *gen.LoginRequest) (*gen.LoginResponse, error) Register(request *gen.RegisterRequest) (*gen.RegisterResponse, error) }
Click to show internal directories.
Click to hide internal directories.