procedure

package
v0.0.0-...-055cc3d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

type Procedures interface {
	Serve(listener net.Listener) error
}

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL