lights

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LightClient

type LightClient struct {
	// contains filtered or unexported fields
}

LightClient wraps the gRPC LightService client.

func NewLightClient

func NewLightClient(cc grpc.ClientConnInterface) *LightClient

NewLightClient creates a new Light client.

func (*LightClient) DescribeContents

func (c *LightClient) DescribeContents(ctx context.Context) (int32, error)

DescribeContents calls the DescribeContents RPC.

func (*LightClient) Equals

func (c *LightClient) Equals(ctx context.Context, arg0 int64) (bool, error)

Equals calls the Equals RPC.

func (*LightClient) GetId

func (c *LightClient) GetId(ctx context.Context) (int32, error)

GetId calls the GetId RPC.

func (*LightClient) GetName

func (c *LightClient) GetName(ctx context.Context) (string, error)

GetName calls the GetName RPC.

func (*LightClient) GetOrdinal

func (c *LightClient) GetOrdinal(ctx context.Context) (int32, error)

GetOrdinal calls the GetOrdinal RPC.

func (*LightClient) GetType

func (c *LightClient) GetType(ctx context.Context) (int32, error)

GetType calls the GetType RPC.

func (*LightClient) HasBrightnessControl

func (c *LightClient) HasBrightnessControl(ctx context.Context) (bool, error)

HasBrightnessControl calls the HasBrightnessControl RPC.

func (*LightClient) HasRgbControl

func (c *LightClient) HasRgbControl(ctx context.Context) (bool, error)

HasRgbControl calls the HasRgbControl RPC.

func (*LightClient) HashCode

func (c *LightClient) HashCode(ctx context.Context) (int32, error)

HashCode calls the HashCode RPC.

func (*LightClient) ToString

func (c *LightClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

func (*LightClient) WriteToParcel

func (c *LightClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error

WriteToParcel calls the WriteToParcel RPC.

type LightStateBuilderClient

type LightStateBuilderClient struct {
	// contains filtered or unexported fields
}

LightStateBuilderClient wraps the gRPC LightStateBuilderService client.

func NewLightStateBuilderClient

func NewLightStateBuilderClient(cc grpc.ClientConnInterface) *LightStateBuilderClient

NewLightStateBuilderClient creates a new LightStateBuilder client.

func (*LightStateBuilderClient) Build

Build calls the Build RPC.

func (*LightStateBuilderClient) SetColor

func (c *LightStateBuilderClient) SetColor(ctx context.Context, arg0 int32) (int64, error)

SetColor calls the SetColor RPC.

func (*LightStateBuilderClient) SetPlayerId

func (c *LightStateBuilderClient) SetPlayerId(ctx context.Context, arg0 int32) (int64, error)

SetPlayerId calls the SetPlayerId RPC.

type LightStateClient

type LightStateClient struct {
	// contains filtered or unexported fields
}

LightStateClient wraps the gRPC LightStateService client.

func NewLightStateClient

func NewLightStateClient(cc grpc.ClientConnInterface) *LightStateClient

NewLightStateClient creates a new LightState client.

func (*LightStateClient) DescribeContents

func (c *LightStateClient) DescribeContents(ctx context.Context) (int32, error)

DescribeContents calls the DescribeContents RPC.

func (*LightStateClient) GetColor

func (c *LightStateClient) GetColor(ctx context.Context) (int32, error)

GetColor calls the GetColor RPC.

func (*LightStateClient) GetPlayerId

func (c *LightStateClient) GetPlayerId(ctx context.Context) (int32, error)

GetPlayerId calls the GetPlayerId RPC.

func (*LightStateClient) ToString

func (c *LightStateClient) ToString(ctx context.Context) (string, error)

ToString calls the ToString RPC.

func (*LightStateClient) WriteToParcel

func (c *LightStateClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error

WriteToParcel calls the WriteToParcel RPC.

type ManagerClient

type ManagerClient struct {
	// contains filtered or unexported fields
}

ManagerClient wraps the gRPC ManagerService client.

func NewManagerClient

func NewManagerClient(cc grpc.ClientConnInterface) *ManagerClient

NewManagerClient creates a new Manager client.

func (*ManagerClient) GetLightState

func (c *ManagerClient) GetLightState(ctx context.Context, arg0 int64) (int64, error)

GetLightState calls the GetLightState RPC.

func (*ManagerClient) GetLights

func (c *ManagerClient) GetLights(ctx context.Context) (int64, error)

GetLights calls the GetLights RPC.

func (*ManagerClient) OpenSession

func (c *ManagerClient) OpenSession(ctx context.Context) (int64, error)

OpenSession calls the OpenSession RPC.

type ManagerLightsSessionClient

type ManagerLightsSessionClient struct {
	// contains filtered or unexported fields
}

ManagerLightsSessionClient wraps the gRPC ManagerLightsSessionService client.

func NewManagerLightsSessionClient

func NewManagerLightsSessionClient(cc grpc.ClientConnInterface) *ManagerLightsSessionClient

NewManagerLightsSessionClient creates a new ManagerLightsSession client.

func (*ManagerLightsSessionClient) Close

Close calls the Close RPC.

func (*ManagerLightsSessionClient) RequestLights

func (c *ManagerLightsSessionClient) RequestLights(ctx context.Context, arg0 int64) error

RequestLights calls the RequestLights RPC.

type RequestBuilderClient

type RequestBuilderClient struct {
	// contains filtered or unexported fields
}

RequestBuilderClient wraps the gRPC RequestBuilderService client.

func NewRequestBuilderClient

func NewRequestBuilderClient(cc grpc.ClientConnInterface) *RequestBuilderClient

NewRequestBuilderClient creates a new RequestBuilder client.

func (*RequestBuilderClient) AddLight

func (c *RequestBuilderClient) AddLight(ctx context.Context, arg0 int64, arg1 int64) (int64, error)

AddLight calls the AddLight RPC.

func (*RequestBuilderClient) Build

func (c *RequestBuilderClient) Build(ctx context.Context) (int64, error)

Build calls the Build RPC.

func (*RequestBuilderClient) ClearLight

func (c *RequestBuilderClient) ClearLight(ctx context.Context, arg0 int64) (int64, error)

ClearLight calls the ClearLight RPC.

type RequestClient

type RequestClient struct {
	// contains filtered or unexported fields
}

RequestClient wraps the gRPC RequestService client.

func NewRequestClient

func NewRequestClient(cc grpc.ClientConnInterface) *RequestClient

NewRequestClient creates a new Request client.

func (*RequestClient) GetLightStates

func (c *RequestClient) GetLightStates(ctx context.Context) (int64, error)

GetLightStates calls the GetLightStates RPC.

func (*RequestClient) GetLights

func (c *RequestClient) GetLights(ctx context.Context) (int64, error)

GetLights calls the GetLights RPC.

Jump to

Keyboard shortcuts

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