Documentation ¶
Index ¶
- func RegisterTradfriServiceServer(s *grpc.Server, srv TradfriServiceServer)
- type ChangeDeviceColorRequest
- func (*ChangeDeviceColorRequest) Descriptor() ([]byte, []int)
- func (m *ChangeDeviceColorRequest) GetId() int32
- func (m *ChangeDeviceColorRequest) GetRgb() string
- func (m *ChangeDeviceColorRequest) GetXcolor() int32
- func (m *ChangeDeviceColorRequest) GetYcolor() int32
- func (*ChangeDeviceColorRequest) ProtoMessage()
- func (m *ChangeDeviceColorRequest) Reset()
- func (m *ChangeDeviceColorRequest) String() string
- func (m *ChangeDeviceColorRequest) XXX_DiscardUnknown()
- func (m *ChangeDeviceColorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangeDeviceColorRequest) XXX_Merge(src proto.Message)
- func (m *ChangeDeviceColorRequest) XXX_Size() int
- func (m *ChangeDeviceColorRequest) XXX_Unmarshal(b []byte) error
- type ChangeDeviceColorResponse
- func (*ChangeDeviceColorResponse) Descriptor() ([]byte, []int)
- func (*ChangeDeviceColorResponse) ProtoMessage()
- func (m *ChangeDeviceColorResponse) Reset()
- func (m *ChangeDeviceColorResponse) String() string
- func (m *ChangeDeviceColorResponse) XXX_DiscardUnknown()
- func (m *ChangeDeviceColorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangeDeviceColorResponse) XXX_Merge(src proto.Message)
- func (m *ChangeDeviceColorResponse) XXX_Size() int
- func (m *ChangeDeviceColorResponse) XXX_Unmarshal(b []byte) error
- type ChangeDeviceDimmingRequest
- func (*ChangeDeviceDimmingRequest) Descriptor() ([]byte, []int)
- func (m *ChangeDeviceDimmingRequest) GetId() int32
- func (m *ChangeDeviceDimmingRequest) GetValue() int32
- func (*ChangeDeviceDimmingRequest) ProtoMessage()
- func (m *ChangeDeviceDimmingRequest) Reset()
- func (m *ChangeDeviceDimmingRequest) String() string
- func (m *ChangeDeviceDimmingRequest) XXX_DiscardUnknown()
- func (m *ChangeDeviceDimmingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangeDeviceDimmingRequest) XXX_Merge(src proto.Message)
- func (m *ChangeDeviceDimmingRequest) XXX_Size() int
- func (m *ChangeDeviceDimmingRequest) XXX_Unmarshal(b []byte) error
- type ChangeDeviceDimmingResponse
- func (*ChangeDeviceDimmingResponse) Descriptor() ([]byte, []int)
- func (*ChangeDeviceDimmingResponse) ProtoMessage()
- func (m *ChangeDeviceDimmingResponse) Reset()
- func (m *ChangeDeviceDimmingResponse) String() string
- func (m *ChangeDeviceDimmingResponse) XXX_DiscardUnknown()
- func (m *ChangeDeviceDimmingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangeDeviceDimmingResponse) XXX_Merge(src proto.Message)
- func (m *ChangeDeviceDimmingResponse) XXX_Size() int
- func (m *ChangeDeviceDimmingResponse) XXX_Unmarshal(b []byte) error
- type ChangeDevicePositioningRequest
- func (*ChangeDevicePositioningRequest) Descriptor() ([]byte, []int)
- func (m *ChangeDevicePositioningRequest) GetId() int32
- func (m *ChangeDevicePositioningRequest) GetValue() int32
- func (*ChangeDevicePositioningRequest) ProtoMessage()
- func (m *ChangeDevicePositioningRequest) Reset()
- func (m *ChangeDevicePositioningRequest) String() string
- func (m *ChangeDevicePositioningRequest) XXX_DiscardUnknown()
- func (m *ChangeDevicePositioningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangeDevicePositioningRequest) XXX_Merge(src proto.Message)
- func (m *ChangeDevicePositioningRequest) XXX_Size() int
- func (m *ChangeDevicePositioningRequest) XXX_Unmarshal(b []byte) error
- type ChangeDevicePositioningResponse
- func (*ChangeDevicePositioningResponse) Descriptor() ([]byte, []int)
- func (*ChangeDevicePositioningResponse) ProtoMessage()
- func (m *ChangeDevicePositioningResponse) Reset()
- func (m *ChangeDevicePositioningResponse) String() string
- func (m *ChangeDevicePositioningResponse) XXX_DiscardUnknown()
- func (m *ChangeDevicePositioningResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangeDevicePositioningResponse) XXX_Merge(src proto.Message)
- func (m *ChangeDevicePositioningResponse) XXX_Size() int
- func (m *ChangeDevicePositioningResponse) XXX_Unmarshal(b []byte) error
- type Device
- func (*Device) Descriptor() ([]byte, []int)
- func (m *Device) GetDimmer() int32
- func (m *Device) GetMetadata() *DeviceMetadata
- func (m *Device) GetPosition() float32
- func (m *Device) GetPower() bool
- func (m *Device) GetRgb() string
- func (m *Device) GetXcolor() int32
- func (m *Device) GetYcolor() int32
- func (*Device) ProtoMessage()
- func (m *Device) Reset()
- func (m *Device) String() string
- func (m *Device) XXX_DiscardUnknown()
- func (m *Device) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Device) XXX_Merge(src proto.Message)
- func (m *Device) XXX_Size() int
- func (m *Device) XXX_Unmarshal(b []byte) error
- type DeviceMetadata
- func (*DeviceMetadata) Descriptor() ([]byte, []int)
- func (m *DeviceMetadata) GetBat() int32
- func (m *DeviceMetadata) GetId() int32
- func (m *DeviceMetadata) GetName() string
- func (m *DeviceMetadata) GetType() string
- func (m *DeviceMetadata) GetVendor() string
- func (*DeviceMetadata) ProtoMessage()
- func (m *DeviceMetadata) Reset()
- func (m *DeviceMetadata) String() string
- func (m *DeviceMetadata) XXX_DiscardUnknown()
- func (m *DeviceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeviceMetadata) XXX_Merge(src proto.Message)
- func (m *DeviceMetadata) XXX_Size() int
- func (m *DeviceMetadata) XXX_Unmarshal(b []byte) error
- type GetDeviceRequest
- func (*GetDeviceRequest) Descriptor() ([]byte, []int)
- func (m *GetDeviceRequest) GetId() int32
- func (*GetDeviceRequest) ProtoMessage()
- func (m *GetDeviceRequest) Reset()
- func (m *GetDeviceRequest) String() string
- func (m *GetDeviceRequest) XXX_DiscardUnknown()
- func (m *GetDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDeviceRequest) XXX_Merge(src proto.Message)
- func (m *GetDeviceRequest) XXX_Size() int
- func (m *GetDeviceRequest) XXX_Unmarshal(b []byte) error
- type GetDeviceResponse
- func (*GetDeviceResponse) Descriptor() ([]byte, []int)
- func (m *GetDeviceResponse) GetDevice() *Device
- func (*GetDeviceResponse) ProtoMessage()
- func (m *GetDeviceResponse) Reset()
- func (m *GetDeviceResponse) String() string
- func (m *GetDeviceResponse) XXX_DiscardUnknown()
- func (m *GetDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDeviceResponse) XXX_Merge(src proto.Message)
- func (m *GetDeviceResponse) XXX_Size() int
- func (m *GetDeviceResponse) XXX_Unmarshal(b []byte) error
- type GetGroupRequest
- func (*GetGroupRequest) Descriptor() ([]byte, []int)
- func (m *GetGroupRequest) GetId() int32
- func (*GetGroupRequest) ProtoMessage()
- func (m *GetGroupRequest) Reset()
- func (m *GetGroupRequest) String() string
- func (m *GetGroupRequest) XXX_DiscardUnknown()
- func (m *GetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetGroupRequest) XXX_Merge(src proto.Message)
- func (m *GetGroupRequest) XXX_Size() int
- func (m *GetGroupRequest) XXX_Unmarshal(b []byte) error
- type GetGroupResponse
- func (*GetGroupResponse) Descriptor() ([]byte, []int)
- func (m *GetGroupResponse) GetGroup() *Group
- func (*GetGroupResponse) ProtoMessage()
- func (m *GetGroupResponse) Reset()
- func (m *GetGroupResponse) String() string
- func (m *GetGroupResponse) XXX_DiscardUnknown()
- func (m *GetGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetGroupResponse) XXX_Merge(src proto.Message)
- func (m *GetGroupResponse) XXX_Size() int
- func (m *GetGroupResponse) XXX_Unmarshal(b []byte) error
- type Group
- func (*Group) Descriptor() ([]byte, []int)
- func (m *Group) GetCreated() string
- func (m *Group) GetDevices() []int32
- func (m *Group) GetId() int32
- func (m *Group) GetPower() int32
- func (*Group) ProtoMessage()
- func (m *Group) Reset()
- func (m *Group) String() string
- func (m *Group) XXX_DiscardUnknown()
- func (m *Group) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Group) XXX_Merge(src proto.Message)
- func (m *Group) XXX_Size() int
- func (m *Group) XXX_Unmarshal(b []byte) error
- type ListDeviceIDsRequest
- func (*ListDeviceIDsRequest) Descriptor() ([]byte, []int)
- func (m *ListDeviceIDsRequest) GetGroupId() int32
- func (*ListDeviceIDsRequest) ProtoMessage()
- func (m *ListDeviceIDsRequest) Reset()
- func (m *ListDeviceIDsRequest) String() string
- func (m *ListDeviceIDsRequest) XXX_DiscardUnknown()
- func (m *ListDeviceIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDeviceIDsRequest) XXX_Merge(src proto.Message)
- func (m *ListDeviceIDsRequest) XXX_Size() int
- func (m *ListDeviceIDsRequest) XXX_Unmarshal(b []byte) error
- type ListDeviceIDsResponse
- func (*ListDeviceIDsResponse) Descriptor() ([]byte, []int)
- func (m *ListDeviceIDsResponse) GetIds() []int32
- func (*ListDeviceIDsResponse) ProtoMessage()
- func (m *ListDeviceIDsResponse) Reset()
- func (m *ListDeviceIDsResponse) String() string
- func (m *ListDeviceIDsResponse) XXX_DiscardUnknown()
- func (m *ListDeviceIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDeviceIDsResponse) XXX_Merge(src proto.Message)
- func (m *ListDeviceIDsResponse) XXX_Size() int
- func (m *ListDeviceIDsResponse) XXX_Unmarshal(b []byte) error
- type ListDevicesRequest
- func (*ListDevicesRequest) Descriptor() ([]byte, []int)
- func (m *ListDevicesRequest) GetGroupId() int32
- func (*ListDevicesRequest) ProtoMessage()
- func (m *ListDevicesRequest) Reset()
- func (m *ListDevicesRequest) String() string
- func (m *ListDevicesRequest) XXX_DiscardUnknown()
- func (m *ListDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDevicesRequest) XXX_Merge(src proto.Message)
- func (m *ListDevicesRequest) XXX_Size() int
- func (m *ListDevicesRequest) XXX_Unmarshal(b []byte) error
- type ListDevicesResponse
- func (*ListDevicesResponse) Descriptor() ([]byte, []int)
- func (m *ListDevicesResponse) GetDevices() []*Device
- func (*ListDevicesResponse) ProtoMessage()
- func (m *ListDevicesResponse) Reset()
- func (m *ListDevicesResponse) String() string
- func (m *ListDevicesResponse) XXX_DiscardUnknown()
- func (m *ListDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDevicesResponse) XXX_Merge(src proto.Message)
- func (m *ListDevicesResponse) XXX_Size() int
- func (m *ListDevicesResponse) XXX_Unmarshal(b []byte) error
- type ListGroupsRequest
- func (*ListGroupsRequest) Descriptor() ([]byte, []int)
- func (*ListGroupsRequest) ProtoMessage()
- func (m *ListGroupsRequest) Reset()
- func (m *ListGroupsRequest) String() string
- func (m *ListGroupsRequest) XXX_DiscardUnknown()
- func (m *ListGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListGroupsRequest) XXX_Merge(src proto.Message)
- func (m *ListGroupsRequest) XXX_Size() int
- func (m *ListGroupsRequest) XXX_Unmarshal(b []byte) error
- type ListGroupsResponse
- func (*ListGroupsResponse) Descriptor() ([]byte, []int)
- func (m *ListGroupsResponse) GetGroups() []*Group
- func (*ListGroupsResponse) ProtoMessage()
- func (m *ListGroupsResponse) Reset()
- func (m *ListGroupsResponse) String() string
- func (m *ListGroupsResponse) XXX_DiscardUnknown()
- func (m *ListGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListGroupsResponse) XXX_Merge(src proto.Message)
- func (m *ListGroupsResponse) XXX_Size() int
- func (m *ListGroupsResponse) XXX_Unmarshal(b []byte) error
- type TradfriServiceClient
- type TradfriServiceServer
- type TurnDeviceOffRequest
- func (*TurnDeviceOffRequest) Descriptor() ([]byte, []int)
- func (m *TurnDeviceOffRequest) GetId() int32
- func (*TurnDeviceOffRequest) ProtoMessage()
- func (m *TurnDeviceOffRequest) Reset()
- func (m *TurnDeviceOffRequest) String() string
- func (m *TurnDeviceOffRequest) XXX_DiscardUnknown()
- func (m *TurnDeviceOffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TurnDeviceOffRequest) XXX_Merge(src proto.Message)
- func (m *TurnDeviceOffRequest) XXX_Size() int
- func (m *TurnDeviceOffRequest) XXX_Unmarshal(b []byte) error
- type TurnDeviceOffResponse
- func (*TurnDeviceOffResponse) Descriptor() ([]byte, []int)
- func (*TurnDeviceOffResponse) ProtoMessage()
- func (m *TurnDeviceOffResponse) Reset()
- func (m *TurnDeviceOffResponse) String() string
- func (m *TurnDeviceOffResponse) XXX_DiscardUnknown()
- func (m *TurnDeviceOffResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TurnDeviceOffResponse) XXX_Merge(src proto.Message)
- func (m *TurnDeviceOffResponse) XXX_Size() int
- func (m *TurnDeviceOffResponse) XXX_Unmarshal(b []byte) error
- type TurnDeviceOnRequest
- func (*TurnDeviceOnRequest) Descriptor() ([]byte, []int)
- func (m *TurnDeviceOnRequest) GetId() int32
- func (*TurnDeviceOnRequest) ProtoMessage()
- func (m *TurnDeviceOnRequest) Reset()
- func (m *TurnDeviceOnRequest) String() string
- func (m *TurnDeviceOnRequest) XXX_DiscardUnknown()
- func (m *TurnDeviceOnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TurnDeviceOnRequest) XXX_Merge(src proto.Message)
- func (m *TurnDeviceOnRequest) XXX_Size() int
- func (m *TurnDeviceOnRequest) XXX_Unmarshal(b []byte) error
- type TurnDeviceOnResponse
- func (*TurnDeviceOnResponse) Descriptor() ([]byte, []int)
- func (*TurnDeviceOnResponse) ProtoMessage()
- func (m *TurnDeviceOnResponse) Reset()
- func (m *TurnDeviceOnResponse) String() string
- func (m *TurnDeviceOnResponse) XXX_DiscardUnknown()
- func (m *TurnDeviceOnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TurnDeviceOnResponse) XXX_Merge(src proto.Message)
- func (m *TurnDeviceOnResponse) XXX_Size() int
- func (m *TurnDeviceOnResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTradfriServiceServer ¶
func RegisterTradfriServiceServer(s *grpc.Server, srv TradfriServiceServer)
Types ¶
type ChangeDeviceColorRequest ¶
type ChangeDeviceColorRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Xcolor int32 `protobuf:"varint,2,opt,name=xcolor,proto3" json:"xcolor,omitempty"` Ycolor int32 `protobuf:"varint,3,opt,name=ycolor,proto3" json:"ycolor,omitempty"` Rgb string `protobuf:"bytes,4,opt,name=rgb,proto3" json:"rgb,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChangeDeviceColorRequest) Descriptor ¶
func (*ChangeDeviceColorRequest) Descriptor() ([]byte, []int)
func (*ChangeDeviceColorRequest) GetId ¶
func (m *ChangeDeviceColorRequest) GetId() int32
func (*ChangeDeviceColorRequest) GetRgb ¶
func (m *ChangeDeviceColorRequest) GetRgb() string
func (*ChangeDeviceColorRequest) GetXcolor ¶
func (m *ChangeDeviceColorRequest) GetXcolor() int32
func (*ChangeDeviceColorRequest) GetYcolor ¶
func (m *ChangeDeviceColorRequest) GetYcolor() int32
func (*ChangeDeviceColorRequest) ProtoMessage ¶
func (*ChangeDeviceColorRequest) ProtoMessage()
func (*ChangeDeviceColorRequest) Reset ¶
func (m *ChangeDeviceColorRequest) Reset()
func (*ChangeDeviceColorRequest) String ¶
func (m *ChangeDeviceColorRequest) String() string
func (*ChangeDeviceColorRequest) XXX_DiscardUnknown ¶
func (m *ChangeDeviceColorRequest) XXX_DiscardUnknown()
func (*ChangeDeviceColorRequest) XXX_Marshal ¶
func (m *ChangeDeviceColorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChangeDeviceColorRequest) XXX_Merge ¶
func (m *ChangeDeviceColorRequest) XXX_Merge(src proto.Message)
func (*ChangeDeviceColorRequest) XXX_Size ¶
func (m *ChangeDeviceColorRequest) XXX_Size() int
func (*ChangeDeviceColorRequest) XXX_Unmarshal ¶
func (m *ChangeDeviceColorRequest) XXX_Unmarshal(b []byte) error
type ChangeDeviceColorResponse ¶
type ChangeDeviceColorResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChangeDeviceColorResponse) Descriptor ¶
func (*ChangeDeviceColorResponse) Descriptor() ([]byte, []int)
func (*ChangeDeviceColorResponse) ProtoMessage ¶
func (*ChangeDeviceColorResponse) ProtoMessage()
func (*ChangeDeviceColorResponse) Reset ¶
func (m *ChangeDeviceColorResponse) Reset()
func (*ChangeDeviceColorResponse) String ¶
func (m *ChangeDeviceColorResponse) String() string
func (*ChangeDeviceColorResponse) XXX_DiscardUnknown ¶
func (m *ChangeDeviceColorResponse) XXX_DiscardUnknown()
func (*ChangeDeviceColorResponse) XXX_Marshal ¶
func (m *ChangeDeviceColorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChangeDeviceColorResponse) XXX_Merge ¶
func (m *ChangeDeviceColorResponse) XXX_Merge(src proto.Message)
func (*ChangeDeviceColorResponse) XXX_Size ¶
func (m *ChangeDeviceColorResponse) XXX_Size() int
func (*ChangeDeviceColorResponse) XXX_Unmarshal ¶
func (m *ChangeDeviceColorResponse) XXX_Unmarshal(b []byte) error
type ChangeDeviceDimmingRequest ¶
type ChangeDeviceDimmingRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChangeDeviceDimmingRequest) Descriptor ¶
func (*ChangeDeviceDimmingRequest) Descriptor() ([]byte, []int)
func (*ChangeDeviceDimmingRequest) GetId ¶
func (m *ChangeDeviceDimmingRequest) GetId() int32
func (*ChangeDeviceDimmingRequest) GetValue ¶
func (m *ChangeDeviceDimmingRequest) GetValue() int32
func (*ChangeDeviceDimmingRequest) ProtoMessage ¶
func (*ChangeDeviceDimmingRequest) ProtoMessage()
func (*ChangeDeviceDimmingRequest) Reset ¶
func (m *ChangeDeviceDimmingRequest) Reset()
func (*ChangeDeviceDimmingRequest) String ¶
func (m *ChangeDeviceDimmingRequest) String() string
func (*ChangeDeviceDimmingRequest) XXX_DiscardUnknown ¶
func (m *ChangeDeviceDimmingRequest) XXX_DiscardUnknown()
func (*ChangeDeviceDimmingRequest) XXX_Marshal ¶
func (m *ChangeDeviceDimmingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChangeDeviceDimmingRequest) XXX_Merge ¶
func (m *ChangeDeviceDimmingRequest) XXX_Merge(src proto.Message)
func (*ChangeDeviceDimmingRequest) XXX_Size ¶
func (m *ChangeDeviceDimmingRequest) XXX_Size() int
func (*ChangeDeviceDimmingRequest) XXX_Unmarshal ¶
func (m *ChangeDeviceDimmingRequest) XXX_Unmarshal(b []byte) error
type ChangeDeviceDimmingResponse ¶
type ChangeDeviceDimmingResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChangeDeviceDimmingResponse) Descriptor ¶
func (*ChangeDeviceDimmingResponse) Descriptor() ([]byte, []int)
func (*ChangeDeviceDimmingResponse) ProtoMessage ¶
func (*ChangeDeviceDimmingResponse) ProtoMessage()
func (*ChangeDeviceDimmingResponse) Reset ¶
func (m *ChangeDeviceDimmingResponse) Reset()
func (*ChangeDeviceDimmingResponse) String ¶
func (m *ChangeDeviceDimmingResponse) String() string
func (*ChangeDeviceDimmingResponse) XXX_DiscardUnknown ¶
func (m *ChangeDeviceDimmingResponse) XXX_DiscardUnknown()
func (*ChangeDeviceDimmingResponse) XXX_Marshal ¶
func (m *ChangeDeviceDimmingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChangeDeviceDimmingResponse) XXX_Merge ¶
func (m *ChangeDeviceDimmingResponse) XXX_Merge(src proto.Message)
func (*ChangeDeviceDimmingResponse) XXX_Size ¶
func (m *ChangeDeviceDimmingResponse) XXX_Size() int
func (*ChangeDeviceDimmingResponse) XXX_Unmarshal ¶
func (m *ChangeDeviceDimmingResponse) XXX_Unmarshal(b []byte) error
type ChangeDevicePositioningRequest ¶
type ChangeDevicePositioningRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChangeDevicePositioningRequest) Descriptor ¶
func (*ChangeDevicePositioningRequest) Descriptor() ([]byte, []int)
func (*ChangeDevicePositioningRequest) GetId ¶
func (m *ChangeDevicePositioningRequest) GetId() int32
func (*ChangeDevicePositioningRequest) GetValue ¶
func (m *ChangeDevicePositioningRequest) GetValue() int32
func (*ChangeDevicePositioningRequest) ProtoMessage ¶
func (*ChangeDevicePositioningRequest) ProtoMessage()
func (*ChangeDevicePositioningRequest) Reset ¶
func (m *ChangeDevicePositioningRequest) Reset()
func (*ChangeDevicePositioningRequest) String ¶
func (m *ChangeDevicePositioningRequest) String() string
func (*ChangeDevicePositioningRequest) XXX_DiscardUnknown ¶
func (m *ChangeDevicePositioningRequest) XXX_DiscardUnknown()
func (*ChangeDevicePositioningRequest) XXX_Marshal ¶
func (m *ChangeDevicePositioningRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChangeDevicePositioningRequest) XXX_Merge ¶
func (m *ChangeDevicePositioningRequest) XXX_Merge(src proto.Message)
func (*ChangeDevicePositioningRequest) XXX_Size ¶
func (m *ChangeDevicePositioningRequest) XXX_Size() int
func (*ChangeDevicePositioningRequest) XXX_Unmarshal ¶
func (m *ChangeDevicePositioningRequest) XXX_Unmarshal(b []byte) error
type ChangeDevicePositioningResponse ¶
type ChangeDevicePositioningResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ChangeDevicePositioningResponse) Descriptor ¶
func (*ChangeDevicePositioningResponse) Descriptor() ([]byte, []int)
func (*ChangeDevicePositioningResponse) ProtoMessage ¶
func (*ChangeDevicePositioningResponse) ProtoMessage()
func (*ChangeDevicePositioningResponse) Reset ¶
func (m *ChangeDevicePositioningResponse) Reset()
func (*ChangeDevicePositioningResponse) String ¶
func (m *ChangeDevicePositioningResponse) String() string
func (*ChangeDevicePositioningResponse) XXX_DiscardUnknown ¶
func (m *ChangeDevicePositioningResponse) XXX_DiscardUnknown()
func (*ChangeDevicePositioningResponse) XXX_Marshal ¶
func (m *ChangeDevicePositioningResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChangeDevicePositioningResponse) XXX_Merge ¶
func (m *ChangeDevicePositioningResponse) XXX_Merge(src proto.Message)
func (*ChangeDevicePositioningResponse) XXX_Size ¶
func (m *ChangeDevicePositioningResponse) XXX_Size() int
func (*ChangeDevicePositioningResponse) XXX_Unmarshal ¶
func (m *ChangeDevicePositioningResponse) XXX_Unmarshal(b []byte) error
type Device ¶
type Device struct { Metadata *DeviceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Dimmer int32 `protobuf:"varint,2,opt,name=dimmer,proto3" json:"dimmer,omitempty"` Xcolor int32 `protobuf:"varint,3,opt,name=xcolor,proto3" json:"xcolor,omitempty"` Ycolor int32 `protobuf:"varint,4,opt,name=ycolor,proto3" json:"ycolor,omitempty"` Rgb string `protobuf:"bytes,5,opt,name=rgb,proto3" json:"rgb,omitempty"` Power bool `protobuf:"varint,6,opt,name=power,proto3" json:"power,omitempty"` Position float32 `protobuf:"fixed32,10,opt,name=position,proto3" json:"position,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Device) Descriptor ¶
func (*Device) GetMetadata ¶
func (m *Device) GetMetadata() *DeviceMetadata
func (*Device) GetPosition ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) XXX_DiscardUnknown ¶
func (m *Device) XXX_DiscardUnknown()
func (*Device) XXX_Marshal ¶
func (*Device) XXX_Unmarshal ¶
type DeviceMetadata ¶
type DeviceMetadata struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Vendor string `protobuf:"bytes,3,opt,name=vendor,proto3" json:"vendor,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Bat int32 `protobuf:"varint,10,opt,name=bat,proto3" json:"bat,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeviceMetadata) Descriptor ¶
func (*DeviceMetadata) Descriptor() ([]byte, []int)
func (*DeviceMetadata) GetBat ¶
func (m *DeviceMetadata) GetBat() int32
func (*DeviceMetadata) GetId ¶
func (m *DeviceMetadata) GetId() int32
func (*DeviceMetadata) GetName ¶
func (m *DeviceMetadata) GetName() string
func (*DeviceMetadata) GetType ¶
func (m *DeviceMetadata) GetType() string
func (*DeviceMetadata) GetVendor ¶
func (m *DeviceMetadata) GetVendor() string
func (*DeviceMetadata) ProtoMessage ¶
func (*DeviceMetadata) ProtoMessage()
func (*DeviceMetadata) Reset ¶
func (m *DeviceMetadata) Reset()
func (*DeviceMetadata) String ¶
func (m *DeviceMetadata) String() string
func (*DeviceMetadata) XXX_DiscardUnknown ¶
func (m *DeviceMetadata) XXX_DiscardUnknown()
func (*DeviceMetadata) XXX_Marshal ¶
func (m *DeviceMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeviceMetadata) XXX_Merge ¶
func (m *DeviceMetadata) XXX_Merge(src proto.Message)
func (*DeviceMetadata) XXX_Size ¶
func (m *DeviceMetadata) XXX_Size() int
func (*DeviceMetadata) XXX_Unmarshal ¶
func (m *DeviceMetadata) XXX_Unmarshal(b []byte) error
type GetDeviceRequest ¶
type GetDeviceRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDeviceRequest) Descriptor ¶
func (*GetDeviceRequest) Descriptor() ([]byte, []int)
func (*GetDeviceRequest) GetId ¶
func (m *GetDeviceRequest) GetId() int32
func (*GetDeviceRequest) ProtoMessage ¶
func (*GetDeviceRequest) ProtoMessage()
func (*GetDeviceRequest) Reset ¶
func (m *GetDeviceRequest) Reset()
func (*GetDeviceRequest) String ¶
func (m *GetDeviceRequest) String() string
func (*GetDeviceRequest) XXX_DiscardUnknown ¶
func (m *GetDeviceRequest) XXX_DiscardUnknown()
func (*GetDeviceRequest) XXX_Marshal ¶
func (m *GetDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeviceRequest) XXX_Merge ¶
func (m *GetDeviceRequest) XXX_Merge(src proto.Message)
func (*GetDeviceRequest) XXX_Size ¶
func (m *GetDeviceRequest) XXX_Size() int
func (*GetDeviceRequest) XXX_Unmarshal ¶
func (m *GetDeviceRequest) XXX_Unmarshal(b []byte) error
type GetDeviceResponse ¶
type GetDeviceResponse struct { Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetDeviceResponse) Descriptor ¶
func (*GetDeviceResponse) Descriptor() ([]byte, []int)
func (*GetDeviceResponse) GetDevice ¶
func (m *GetDeviceResponse) GetDevice() *Device
func (*GetDeviceResponse) ProtoMessage ¶
func (*GetDeviceResponse) ProtoMessage()
func (*GetDeviceResponse) Reset ¶
func (m *GetDeviceResponse) Reset()
func (*GetDeviceResponse) String ¶
func (m *GetDeviceResponse) String() string
func (*GetDeviceResponse) XXX_DiscardUnknown ¶
func (m *GetDeviceResponse) XXX_DiscardUnknown()
func (*GetDeviceResponse) XXX_Marshal ¶
func (m *GetDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDeviceResponse) XXX_Merge ¶
func (m *GetDeviceResponse) XXX_Merge(src proto.Message)
func (*GetDeviceResponse) XXX_Size ¶
func (m *GetDeviceResponse) XXX_Size() int
func (*GetDeviceResponse) XXX_Unmarshal ¶
func (m *GetDeviceResponse) XXX_Unmarshal(b []byte) error
type GetGroupRequest ¶
type GetGroupRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGroupRequest) Descriptor ¶
func (*GetGroupRequest) Descriptor() ([]byte, []int)
func (*GetGroupRequest) GetId ¶
func (m *GetGroupRequest) GetId() int32
func (*GetGroupRequest) ProtoMessage ¶
func (*GetGroupRequest) ProtoMessage()
func (*GetGroupRequest) Reset ¶
func (m *GetGroupRequest) Reset()
func (*GetGroupRequest) String ¶
func (m *GetGroupRequest) String() string
func (*GetGroupRequest) XXX_DiscardUnknown ¶
func (m *GetGroupRequest) XXX_DiscardUnknown()
func (*GetGroupRequest) XXX_Marshal ¶
func (m *GetGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGroupRequest) XXX_Merge ¶
func (m *GetGroupRequest) XXX_Merge(src proto.Message)
func (*GetGroupRequest) XXX_Size ¶
func (m *GetGroupRequest) XXX_Size() int
func (*GetGroupRequest) XXX_Unmarshal ¶
func (m *GetGroupRequest) XXX_Unmarshal(b []byte) error
type GetGroupResponse ¶
type GetGroupResponse struct { Group *Group `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetGroupResponse) Descriptor ¶
func (*GetGroupResponse) Descriptor() ([]byte, []int)
func (*GetGroupResponse) GetGroup ¶
func (m *GetGroupResponse) GetGroup() *Group
func (*GetGroupResponse) ProtoMessage ¶
func (*GetGroupResponse) ProtoMessage()
func (*GetGroupResponse) Reset ¶
func (m *GetGroupResponse) Reset()
func (*GetGroupResponse) String ¶
func (m *GetGroupResponse) String() string
func (*GetGroupResponse) XXX_DiscardUnknown ¶
func (m *GetGroupResponse) XXX_DiscardUnknown()
func (*GetGroupResponse) XXX_Marshal ¶
func (m *GetGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetGroupResponse) XXX_Merge ¶
func (m *GetGroupResponse) XXX_Merge(src proto.Message)
func (*GetGroupResponse) XXX_Size ¶
func (m *GetGroupResponse) XXX_Size() int
func (*GetGroupResponse) XXX_Unmarshal ¶
func (m *GetGroupResponse) XXX_Unmarshal(b []byte) error
type Group ¶
type Group struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Power int32 `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"` Created string `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"` Devices []int32 `protobuf:"varint,4,rep,packed,name=devices,proto3" json:"devices,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Group) Descriptor ¶
func (*Group) GetCreated ¶
func (*Group) GetDevices ¶
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
func (*Group) XXX_DiscardUnknown ¶
func (m *Group) XXX_DiscardUnknown()
func (*Group) XXX_Marshal ¶
func (*Group) XXX_Unmarshal ¶
type ListDeviceIDsRequest ¶
type ListDeviceIDsRequest struct { GroupId int32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListDeviceIDsRequest) Descriptor ¶
func (*ListDeviceIDsRequest) Descriptor() ([]byte, []int)
func (*ListDeviceIDsRequest) GetGroupId ¶
func (m *ListDeviceIDsRequest) GetGroupId() int32
func (*ListDeviceIDsRequest) ProtoMessage ¶
func (*ListDeviceIDsRequest) ProtoMessage()
func (*ListDeviceIDsRequest) Reset ¶
func (m *ListDeviceIDsRequest) Reset()
func (*ListDeviceIDsRequest) String ¶
func (m *ListDeviceIDsRequest) String() string
func (*ListDeviceIDsRequest) XXX_DiscardUnknown ¶
func (m *ListDeviceIDsRequest) XXX_DiscardUnknown()
func (*ListDeviceIDsRequest) XXX_Marshal ¶
func (m *ListDeviceIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDeviceIDsRequest) XXX_Merge ¶
func (m *ListDeviceIDsRequest) XXX_Merge(src proto.Message)
func (*ListDeviceIDsRequest) XXX_Size ¶
func (m *ListDeviceIDsRequest) XXX_Size() int
func (*ListDeviceIDsRequest) XXX_Unmarshal ¶
func (m *ListDeviceIDsRequest) XXX_Unmarshal(b []byte) error
type ListDeviceIDsResponse ¶
type ListDeviceIDsResponse struct { Ids []int32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListDeviceIDsResponse) Descriptor ¶
func (*ListDeviceIDsResponse) Descriptor() ([]byte, []int)
func (*ListDeviceIDsResponse) GetIds ¶
func (m *ListDeviceIDsResponse) GetIds() []int32
func (*ListDeviceIDsResponse) ProtoMessage ¶
func (*ListDeviceIDsResponse) ProtoMessage()
func (*ListDeviceIDsResponse) Reset ¶
func (m *ListDeviceIDsResponse) Reset()
func (*ListDeviceIDsResponse) String ¶
func (m *ListDeviceIDsResponse) String() string
func (*ListDeviceIDsResponse) XXX_DiscardUnknown ¶
func (m *ListDeviceIDsResponse) XXX_DiscardUnknown()
func (*ListDeviceIDsResponse) XXX_Marshal ¶
func (m *ListDeviceIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDeviceIDsResponse) XXX_Merge ¶
func (m *ListDeviceIDsResponse) XXX_Merge(src proto.Message)
func (*ListDeviceIDsResponse) XXX_Size ¶
func (m *ListDeviceIDsResponse) XXX_Size() int
func (*ListDeviceIDsResponse) XXX_Unmarshal ¶
func (m *ListDeviceIDsResponse) XXX_Unmarshal(b []byte) error
type ListDevicesRequest ¶
type ListDevicesRequest struct { GroupId int32 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListDevicesRequest) Descriptor ¶
func (*ListDevicesRequest) Descriptor() ([]byte, []int)
func (*ListDevicesRequest) GetGroupId ¶
func (m *ListDevicesRequest) GetGroupId() int32
func (*ListDevicesRequest) ProtoMessage ¶
func (*ListDevicesRequest) ProtoMessage()
func (*ListDevicesRequest) Reset ¶
func (m *ListDevicesRequest) Reset()
func (*ListDevicesRequest) String ¶
func (m *ListDevicesRequest) String() string
func (*ListDevicesRequest) XXX_DiscardUnknown ¶
func (m *ListDevicesRequest) XXX_DiscardUnknown()
func (*ListDevicesRequest) XXX_Marshal ¶
func (m *ListDevicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDevicesRequest) XXX_Merge ¶
func (m *ListDevicesRequest) XXX_Merge(src proto.Message)
func (*ListDevicesRequest) XXX_Size ¶
func (m *ListDevicesRequest) XXX_Size() int
func (*ListDevicesRequest) XXX_Unmarshal ¶
func (m *ListDevicesRequest) XXX_Unmarshal(b []byte) error
type ListDevicesResponse ¶
type ListDevicesResponse struct { Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListDevicesResponse) Descriptor ¶
func (*ListDevicesResponse) Descriptor() ([]byte, []int)
func (*ListDevicesResponse) GetDevices ¶
func (m *ListDevicesResponse) GetDevices() []*Device
func (*ListDevicesResponse) ProtoMessage ¶
func (*ListDevicesResponse) ProtoMessage()
func (*ListDevicesResponse) Reset ¶
func (m *ListDevicesResponse) Reset()
func (*ListDevicesResponse) String ¶
func (m *ListDevicesResponse) String() string
func (*ListDevicesResponse) XXX_DiscardUnknown ¶
func (m *ListDevicesResponse) XXX_DiscardUnknown()
func (*ListDevicesResponse) XXX_Marshal ¶
func (m *ListDevicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDevicesResponse) XXX_Merge ¶
func (m *ListDevicesResponse) XXX_Merge(src proto.Message)
func (*ListDevicesResponse) XXX_Size ¶
func (m *ListDevicesResponse) XXX_Size() int
func (*ListDevicesResponse) XXX_Unmarshal ¶
func (m *ListDevicesResponse) XXX_Unmarshal(b []byte) error
type ListGroupsRequest ¶
type ListGroupsRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListGroupsRequest) Descriptor ¶
func (*ListGroupsRequest) Descriptor() ([]byte, []int)
func (*ListGroupsRequest) ProtoMessage ¶
func (*ListGroupsRequest) ProtoMessage()
func (*ListGroupsRequest) Reset ¶
func (m *ListGroupsRequest) Reset()
func (*ListGroupsRequest) String ¶
func (m *ListGroupsRequest) String() string
func (*ListGroupsRequest) XXX_DiscardUnknown ¶
func (m *ListGroupsRequest) XXX_DiscardUnknown()
func (*ListGroupsRequest) XXX_Marshal ¶
func (m *ListGroupsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGroupsRequest) XXX_Merge ¶
func (m *ListGroupsRequest) XXX_Merge(src proto.Message)
func (*ListGroupsRequest) XXX_Size ¶
func (m *ListGroupsRequest) XXX_Size() int
func (*ListGroupsRequest) XXX_Unmarshal ¶
func (m *ListGroupsRequest) XXX_Unmarshal(b []byte) error
type ListGroupsResponse ¶
type ListGroupsResponse struct { Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListGroupsResponse) Descriptor ¶
func (*ListGroupsResponse) Descriptor() ([]byte, []int)
func (*ListGroupsResponse) GetGroups ¶
func (m *ListGroupsResponse) GetGroups() []*Group
func (*ListGroupsResponse) ProtoMessage ¶
func (*ListGroupsResponse) ProtoMessage()
func (*ListGroupsResponse) Reset ¶
func (m *ListGroupsResponse) Reset()
func (*ListGroupsResponse) String ¶
func (m *ListGroupsResponse) String() string
func (*ListGroupsResponse) XXX_DiscardUnknown ¶
func (m *ListGroupsResponse) XXX_DiscardUnknown()
func (*ListGroupsResponse) XXX_Marshal ¶
func (m *ListGroupsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListGroupsResponse) XXX_Merge ¶
func (m *ListGroupsResponse) XXX_Merge(src proto.Message)
func (*ListGroupsResponse) XXX_Size ¶
func (m *ListGroupsResponse) XXX_Size() int
func (*ListGroupsResponse) XXX_Unmarshal ¶
func (m *ListGroupsResponse) XXX_Unmarshal(b []byte) error
type TradfriServiceClient ¶
type TradfriServiceClient interface { ListGroups(ctx context.Context, in *ListGroupsRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error) GetGroup(ctx context.Context, in *GetGroupRequest, opts ...grpc.CallOption) (*GetGroupResponse, error) ListDevices(ctx context.Context, in *ListDevicesRequest, opts ...grpc.CallOption) (*ListDevicesResponse, error) ListDeviceIDs(ctx context.Context, in *ListDeviceIDsRequest, opts ...grpc.CallOption) (*ListDeviceIDsResponse, error) GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*GetDeviceResponse, error) ChangeDeviceColor(ctx context.Context, in *ChangeDeviceColorRequest, opts ...grpc.CallOption) (*ChangeDeviceColorResponse, error) ChangeDeviceDimming(ctx context.Context, in *ChangeDeviceDimmingRequest, opts ...grpc.CallOption) (*ChangeDeviceDimmingResponse, error) TurnDeviceOn(ctx context.Context, in *TurnDeviceOnRequest, opts ...grpc.CallOption) (*TurnDeviceOnResponse, error) TurnDeviceOff(ctx context.Context, in *TurnDeviceOffRequest, opts ...grpc.CallOption) (*TurnDeviceOffResponse, error) ChangeDevicePositioning(ctx context.Context, in *ChangeDevicePositioningRequest, opts ...grpc.CallOption) (*ChangeDevicePositioningResponse, error) }
TradfriServiceClient is the client API for TradfriService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTradfriServiceClient ¶
func NewTradfriServiceClient(cc *grpc.ClientConn) TradfriServiceClient
type TradfriServiceServer ¶
type TradfriServiceServer interface { ListGroups(context.Context, *ListGroupsRequest) (*ListGroupsResponse, error) GetGroup(context.Context, *GetGroupRequest) (*GetGroupResponse, error) ListDevices(context.Context, *ListDevicesRequest) (*ListDevicesResponse, error) ListDeviceIDs(context.Context, *ListDeviceIDsRequest) (*ListDeviceIDsResponse, error) GetDevice(context.Context, *GetDeviceRequest) (*GetDeviceResponse, error) ChangeDeviceColor(context.Context, *ChangeDeviceColorRequest) (*ChangeDeviceColorResponse, error) ChangeDeviceDimming(context.Context, *ChangeDeviceDimmingRequest) (*ChangeDeviceDimmingResponse, error) TurnDeviceOn(context.Context, *TurnDeviceOnRequest) (*TurnDeviceOnResponse, error) TurnDeviceOff(context.Context, *TurnDeviceOffRequest) (*TurnDeviceOffResponse, error) ChangeDevicePositioning(context.Context, *ChangeDevicePositioningRequest) (*ChangeDevicePositioningResponse, error) }
TradfriServiceServer is the server API for TradfriService service.
type TurnDeviceOffRequest ¶
type TurnDeviceOffRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TurnDeviceOffRequest) Descriptor ¶
func (*TurnDeviceOffRequest) Descriptor() ([]byte, []int)
func (*TurnDeviceOffRequest) GetId ¶
func (m *TurnDeviceOffRequest) GetId() int32
func (*TurnDeviceOffRequest) ProtoMessage ¶
func (*TurnDeviceOffRequest) ProtoMessage()
func (*TurnDeviceOffRequest) Reset ¶
func (m *TurnDeviceOffRequest) Reset()
func (*TurnDeviceOffRequest) String ¶
func (m *TurnDeviceOffRequest) String() string
func (*TurnDeviceOffRequest) XXX_DiscardUnknown ¶
func (m *TurnDeviceOffRequest) XXX_DiscardUnknown()
func (*TurnDeviceOffRequest) XXX_Marshal ¶
func (m *TurnDeviceOffRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TurnDeviceOffRequest) XXX_Merge ¶
func (m *TurnDeviceOffRequest) XXX_Merge(src proto.Message)
func (*TurnDeviceOffRequest) XXX_Size ¶
func (m *TurnDeviceOffRequest) XXX_Size() int
func (*TurnDeviceOffRequest) XXX_Unmarshal ¶
func (m *TurnDeviceOffRequest) XXX_Unmarshal(b []byte) error
type TurnDeviceOffResponse ¶
type TurnDeviceOffResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TurnDeviceOffResponse) Descriptor ¶
func (*TurnDeviceOffResponse) Descriptor() ([]byte, []int)
func (*TurnDeviceOffResponse) ProtoMessage ¶
func (*TurnDeviceOffResponse) ProtoMessage()
func (*TurnDeviceOffResponse) Reset ¶
func (m *TurnDeviceOffResponse) Reset()
func (*TurnDeviceOffResponse) String ¶
func (m *TurnDeviceOffResponse) String() string
func (*TurnDeviceOffResponse) XXX_DiscardUnknown ¶
func (m *TurnDeviceOffResponse) XXX_DiscardUnknown()
func (*TurnDeviceOffResponse) XXX_Marshal ¶
func (m *TurnDeviceOffResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TurnDeviceOffResponse) XXX_Merge ¶
func (m *TurnDeviceOffResponse) XXX_Merge(src proto.Message)
func (*TurnDeviceOffResponse) XXX_Size ¶
func (m *TurnDeviceOffResponse) XXX_Size() int
func (*TurnDeviceOffResponse) XXX_Unmarshal ¶
func (m *TurnDeviceOffResponse) XXX_Unmarshal(b []byte) error
type TurnDeviceOnRequest ¶
type TurnDeviceOnRequest struct { Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TurnDeviceOnRequest) Descriptor ¶
func (*TurnDeviceOnRequest) Descriptor() ([]byte, []int)
func (*TurnDeviceOnRequest) GetId ¶
func (m *TurnDeviceOnRequest) GetId() int32
func (*TurnDeviceOnRequest) ProtoMessage ¶
func (*TurnDeviceOnRequest) ProtoMessage()
func (*TurnDeviceOnRequest) Reset ¶
func (m *TurnDeviceOnRequest) Reset()
func (*TurnDeviceOnRequest) String ¶
func (m *TurnDeviceOnRequest) String() string
func (*TurnDeviceOnRequest) XXX_DiscardUnknown ¶
func (m *TurnDeviceOnRequest) XXX_DiscardUnknown()
func (*TurnDeviceOnRequest) XXX_Marshal ¶
func (m *TurnDeviceOnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TurnDeviceOnRequest) XXX_Merge ¶
func (m *TurnDeviceOnRequest) XXX_Merge(src proto.Message)
func (*TurnDeviceOnRequest) XXX_Size ¶
func (m *TurnDeviceOnRequest) XXX_Size() int
func (*TurnDeviceOnRequest) XXX_Unmarshal ¶
func (m *TurnDeviceOnRequest) XXX_Unmarshal(b []byte) error
type TurnDeviceOnResponse ¶
type TurnDeviceOnResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TurnDeviceOnResponse) Descriptor ¶
func (*TurnDeviceOnResponse) Descriptor() ([]byte, []int)
func (*TurnDeviceOnResponse) ProtoMessage ¶
func (*TurnDeviceOnResponse) ProtoMessage()
func (*TurnDeviceOnResponse) Reset ¶
func (m *TurnDeviceOnResponse) Reset()
func (*TurnDeviceOnResponse) String ¶
func (m *TurnDeviceOnResponse) String() string
func (*TurnDeviceOnResponse) XXX_DiscardUnknown ¶
func (m *TurnDeviceOnResponse) XXX_DiscardUnknown()
func (*TurnDeviceOnResponse) XXX_Marshal ¶
func (m *TurnDeviceOnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TurnDeviceOnResponse) XXX_Merge ¶
func (m *TurnDeviceOnResponse) XXX_Merge(src proto.Message)
func (*TurnDeviceOnResponse) XXX_Size ¶
func (m *TurnDeviceOnResponse) XXX_Size() int
func (*TurnDeviceOnResponse) XXX_Unmarshal ¶
func (m *TurnDeviceOnResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.