Documentation
¶
Index ¶
- type LightClient
- func (c *LightClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *LightClient) Equals(ctx context.Context, arg0 int64) (bool, error)
- func (c *LightClient) GetId(ctx context.Context) (int32, error)
- func (c *LightClient) GetName(ctx context.Context) (string, error)
- func (c *LightClient) GetOrdinal(ctx context.Context) (int32, error)
- func (c *LightClient) GetType(ctx context.Context) (int32, error)
- func (c *LightClient) HasBrightnessControl(ctx context.Context) (bool, error)
- func (c *LightClient) HasRgbControl(ctx context.Context) (bool, error)
- func (c *LightClient) HashCode(ctx context.Context) (int32, error)
- func (c *LightClient) ToString(ctx context.Context) (string, error)
- func (c *LightClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type LightStateBuilderClient
- type LightStateClient
- func (c *LightStateClient) DescribeContents(ctx context.Context) (int32, error)
- func (c *LightStateClient) GetColor(ctx context.Context) (int32, error)
- func (c *LightStateClient) GetPlayerId(ctx context.Context) (int32, error)
- func (c *LightStateClient) ToString(ctx context.Context) (string, error)
- func (c *LightStateClient) WriteToParcel(ctx context.Context, arg0 int64, arg1 int32) error
- type ManagerClient
- type ManagerLightsSessionClient
- type RequestBuilderClient
- type RequestClient
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) 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 ¶
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 ¶
func (c *LightStateBuilderClient) Build(ctx context.Context) (int64, error)
Build calls the Build RPC.
func (*LightStateBuilderClient) SetPlayerId ¶
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 ¶
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 ¶
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 ¶
func (c *ManagerLightsSessionClient) Close(ctx context.Context) error
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) Build ¶
func (c *RequestBuilderClient) Build(ctx context.Context) (int64, error)
Build calls the Build RPC.
func (*RequestBuilderClient) ClearLight ¶
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.