Documentation
¶
Overview ¶
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterDeviceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterDeviceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DeviceServiceClient) error
- func RegisterDeviceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterDeviceServiceServer(s *grpc.Server, srv DeviceServiceServer)
- type ActionSyncByGroupRequest
- func (*ActionSyncByGroupRequest) Descriptor() ([]byte, []int)
- func (m *ActionSyncByGroupRequest) GetGroupId() string
- func (m *ActionSyncByGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *ActionSyncByGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ActionSyncByGroupRequest) ProtoMessage()
- func (m *ActionSyncByGroupRequest) Reset()
- func (m *ActionSyncByGroupRequest) Size() (n int)
- func (m *ActionSyncByGroupRequest) String() string
- func (m *ActionSyncByGroupRequest) Unmarshal(dAtA []byte) error
- func (m *ActionSyncByGroupRequest) XXX_DiscardUnknown()
- func (m *ActionSyncByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActionSyncByGroupRequest) XXX_Merge(src proto.Message)
- func (m *ActionSyncByGroupRequest) XXX_Size() int
- func (m *ActionSyncByGroupRequest) XXX_Unmarshal(b []byte) error
- type ActionSyncRequest
- func (*ActionSyncRequest) Descriptor() ([]byte, []int)
- func (m *ActionSyncRequest) GetId() string
- func (m *ActionSyncRequest) Marshal() (dAtA []byte, err error)
- func (m *ActionSyncRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ActionSyncRequest) ProtoMessage()
- func (m *ActionSyncRequest) Reset()
- func (m *ActionSyncRequest) Size() (n int)
- func (m *ActionSyncRequest) String() string
- func (m *ActionSyncRequest) Unmarshal(dAtA []byte) error
- func (m *ActionSyncRequest) XXX_DiscardUnknown()
- func (m *ActionSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActionSyncRequest) XXX_Merge(src proto.Message)
- func (m *ActionSyncRequest) XXX_Size() int
- func (m *ActionSyncRequest) XXX_Unmarshal(b []byte) error
- type ActionTestByGroupRequest
- func (*ActionTestByGroupRequest) Descriptor() ([]byte, []int)
- func (m *ActionTestByGroupRequest) GetGroupId() string
- func (m *ActionTestByGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *ActionTestByGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ActionTestByGroupRequest) ProtoMessage()
- func (m *ActionTestByGroupRequest) Reset()
- func (m *ActionTestByGroupRequest) Size() (n int)
- func (m *ActionTestByGroupRequest) String() string
- func (m *ActionTestByGroupRequest) Unmarshal(dAtA []byte) error
- func (m *ActionTestByGroupRequest) XXX_DiscardUnknown()
- func (m *ActionTestByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActionTestByGroupRequest) XXX_Merge(src proto.Message)
- func (m *ActionTestByGroupRequest) XXX_Size() int
- func (m *ActionTestByGroupRequest) XXX_Unmarshal(b []byte) error
- type ActionTestRequest
- func (*ActionTestRequest) Descriptor() ([]byte, []int)
- func (m *ActionTestRequest) GetId() string
- func (m *ActionTestRequest) Marshal() (dAtA []byte, err error)
- func (m *ActionTestRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ActionTestRequest) ProtoMessage()
- func (m *ActionTestRequest) Reset()
- func (m *ActionTestRequest) Size() (n int)
- func (m *ActionTestRequest) String() string
- func (m *ActionTestRequest) Unmarshal(dAtA []byte) error
- func (m *ActionTestRequest) XXX_DiscardUnknown()
- func (m *ActionTestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ActionTestRequest) XXX_Merge(src proto.Message)
- func (m *ActionTestRequest) XXX_Size() int
- func (m *ActionTestRequest) XXX_Unmarshal(b []byte) error
- type CreateDeviceRequest
- func (*CreateDeviceRequest) Descriptor() ([]byte, []int)
- func (m *CreateDeviceRequest) GetDevice() *Device
- func (m *CreateDeviceRequest) GetId() string
- func (m *CreateDeviceRequest) Marshal() (dAtA []byte, err error)
- func (m *CreateDeviceRequest) MarshalTo(dAtA []byte) (int, error)
- func (*CreateDeviceRequest) ProtoMessage()
- func (m *CreateDeviceRequest) Reset()
- func (m *CreateDeviceRequest) Size() (n int)
- func (m *CreateDeviceRequest) String() string
- func (m *CreateDeviceRequest) Unmarshal(dAtA []byte) error
- func (m *CreateDeviceRequest) XXX_DiscardUnknown()
- func (m *CreateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateDeviceRequest) XXX_Merge(src proto.Message)
- func (m *CreateDeviceRequest) XXX_Size() int
- func (m *CreateDeviceRequest) XXX_Unmarshal(b []byte) error
- type CreateDeviceResponse
- func (*CreateDeviceResponse) Descriptor() ([]byte, []int)
- func (m *CreateDeviceResponse) GetDevice() *Device
- func (m *CreateDeviceResponse) Marshal() (dAtA []byte, err error)
- func (m *CreateDeviceResponse) MarshalTo(dAtA []byte) (int, error)
- func (*CreateDeviceResponse) ProtoMessage()
- func (m *CreateDeviceResponse) Reset()
- func (m *CreateDeviceResponse) Size() (n int)
- func (m *CreateDeviceResponse) String() string
- func (m *CreateDeviceResponse) Unmarshal(dAtA []byte) error
- func (m *CreateDeviceResponse) XXX_DiscardUnknown()
- func (m *CreateDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateDeviceResponse) XXX_Merge(src proto.Message)
- func (m *CreateDeviceResponse) XXX_Size() int
- func (m *CreateDeviceResponse) XXX_Unmarshal(b []byte) error
- type DeleteDeviceRequest
- func (*DeleteDeviceRequest) Descriptor() ([]byte, []int)
- func (m *DeleteDeviceRequest) GetId() string
- func (m *DeleteDeviceRequest) Marshal() (dAtA []byte, err error)
- func (m *DeleteDeviceRequest) MarshalTo(dAtA []byte) (int, error)
- func (*DeleteDeviceRequest) ProtoMessage()
- func (m *DeleteDeviceRequest) Reset()
- func (m *DeleteDeviceRequest) Size() (n int)
- func (m *DeleteDeviceRequest) String() string
- func (m *DeleteDeviceRequest) Unmarshal(dAtA []byte) error
- func (m *DeleteDeviceRequest) XXX_DiscardUnknown()
- func (m *DeleteDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteDeviceRequest) XXX_Merge(src proto.Message)
- func (m *DeleteDeviceRequest) XXX_Size() int
- func (m *DeleteDeviceRequest) XXX_Unmarshal(b []byte) error
- type DeleteDeviceResponse
- func (*DeleteDeviceResponse) Descriptor() ([]byte, []int)
- func (m *DeleteDeviceResponse) GetDevice() *Device
- func (m *DeleteDeviceResponse) Marshal() (dAtA []byte, err error)
- func (m *DeleteDeviceResponse) MarshalTo(dAtA []byte) (int, error)
- func (*DeleteDeviceResponse) ProtoMessage()
- func (m *DeleteDeviceResponse) Reset()
- func (m *DeleteDeviceResponse) Size() (n int)
- func (m *DeleteDeviceResponse) String() string
- func (m *DeleteDeviceResponse) Unmarshal(dAtA []byte) error
- func (m *DeleteDeviceResponse) XXX_DiscardUnknown()
- func (m *DeleteDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteDeviceResponse) XXX_Merge(src proto.Message)
- func (m *DeleteDeviceResponse) XXX_Size() int
- func (m *DeleteDeviceResponse) XXX_Unmarshal(b []byte) error
- type Device
- func (*Device) Descriptor() ([]byte, []int)
- func (m *Device) GetGroupId() string
- func (m *Device) GetId() string
- func (m *Device) GetLocation() *Location
- func (m *Device) GetName() string
- func (m *Device) GetPlayer() string
- func (m *Device) GetPlaying() string
- func (m *Device) GetPlaylist() *Playlist
- func (m *Device) GetStorage() string
- func (m *Device) Marshal() (dAtA []byte, err error)
- func (m *Device) MarshalTo(dAtA []byte) (int, error)
- func (*Device) ProtoMessage()
- func (m *Device) Reset()
- func (m *Device) Size() (n int)
- func (m *Device) String() string
- func (m *Device) Unmarshal(dAtA []byte) error
- 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 DeviceServiceClient
- type DeviceServiceServer
- type GetDeviceRequest
- func (*GetDeviceRequest) Descriptor() ([]byte, []int)
- func (m *GetDeviceRequest) GetId() string
- func (m *GetDeviceRequest) Marshal() (dAtA []byte, err error)
- func (m *GetDeviceRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetDeviceRequest) ProtoMessage()
- func (m *GetDeviceRequest) Reset()
- func (m *GetDeviceRequest) Size() (n int)
- func (m *GetDeviceRequest) String() string
- func (m *GetDeviceRequest) Unmarshal(dAtA []byte) error
- 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 (m *GetDeviceResponse) Marshal() (dAtA []byte, err error)
- func (m *GetDeviceResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetDeviceResponse) ProtoMessage()
- func (m *GetDeviceResponse) Reset()
- func (m *GetDeviceResponse) Size() (n int)
- func (m *GetDeviceResponse) String() string
- func (m *GetDeviceResponse) Unmarshal(dAtA []byte) error
- 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 GetPlaylistByGroupRequest
- func (*GetPlaylistByGroupRequest) Descriptor() ([]byte, []int)
- func (m *GetPlaylistByGroupRequest) GetGroupId() string
- func (m *GetPlaylistByGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *GetPlaylistByGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetPlaylistByGroupRequest) ProtoMessage()
- func (m *GetPlaylistByGroupRequest) Reset()
- func (m *GetPlaylistByGroupRequest) Size() (n int)
- func (m *GetPlaylistByGroupRequest) String() string
- func (m *GetPlaylistByGroupRequest) Unmarshal(dAtA []byte) error
- func (m *GetPlaylistByGroupRequest) XXX_DiscardUnknown()
- func (m *GetPlaylistByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPlaylistByGroupRequest) XXX_Merge(src proto.Message)
- func (m *GetPlaylistByGroupRequest) XXX_Size() int
- func (m *GetPlaylistByGroupRequest) XXX_Unmarshal(b []byte) error
- type GetPlaylistByGroupResponse
- func (*GetPlaylistByGroupResponse) Descriptor() ([]byte, []int)
- func (m *GetPlaylistByGroupResponse) GetPlaylist() *Playlist
- func (m *GetPlaylistByGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *GetPlaylistByGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetPlaylistByGroupResponse) ProtoMessage()
- func (m *GetPlaylistByGroupResponse) Reset()
- func (m *GetPlaylistByGroupResponse) Size() (n int)
- func (m *GetPlaylistByGroupResponse) String() string
- func (m *GetPlaylistByGroupResponse) Unmarshal(dAtA []byte) error
- func (m *GetPlaylistByGroupResponse) XXX_DiscardUnknown()
- func (m *GetPlaylistByGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPlaylistByGroupResponse) XXX_Merge(src proto.Message)
- func (m *GetPlaylistByGroupResponse) XXX_Size() int
- func (m *GetPlaylistByGroupResponse) XXX_Unmarshal(b []byte) error
- type GetPlaylistRequest
- func (*GetPlaylistRequest) Descriptor() ([]byte, []int)
- func (m *GetPlaylistRequest) GetId() string
- func (m *GetPlaylistRequest) Marshal() (dAtA []byte, err error)
- func (m *GetPlaylistRequest) MarshalTo(dAtA []byte) (int, error)
- func (*GetPlaylistRequest) ProtoMessage()
- func (m *GetPlaylistRequest) Reset()
- func (m *GetPlaylistRequest) Size() (n int)
- func (m *GetPlaylistRequest) String() string
- func (m *GetPlaylistRequest) Unmarshal(dAtA []byte) error
- func (m *GetPlaylistRequest) XXX_DiscardUnknown()
- func (m *GetPlaylistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPlaylistRequest) XXX_Merge(src proto.Message)
- func (m *GetPlaylistRequest) XXX_Size() int
- func (m *GetPlaylistRequest) XXX_Unmarshal(b []byte) error
- type GetPlaylistResponse
- func (*GetPlaylistResponse) Descriptor() ([]byte, []int)
- func (m *GetPlaylistResponse) GetPlaylist() *Playlist
- func (m *GetPlaylistResponse) Marshal() (dAtA []byte, err error)
- func (m *GetPlaylistResponse) MarshalTo(dAtA []byte) (int, error)
- func (*GetPlaylistResponse) ProtoMessage()
- func (m *GetPlaylistResponse) Reset()
- func (m *GetPlaylistResponse) Size() (n int)
- func (m *GetPlaylistResponse) String() string
- func (m *GetPlaylistResponse) Unmarshal(dAtA []byte) error
- func (m *GetPlaylistResponse) XXX_DiscardUnknown()
- func (m *GetPlaylistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPlaylistResponse) XXX_Merge(src proto.Message)
- func (m *GetPlaylistResponse) XXX_Size() int
- func (m *GetPlaylistResponse) XXX_Unmarshal(b []byte) error
- type Group
- func (*Group) Descriptor() ([]byte, []int)
- func (m *Group) GetDevices() []*Device
- func (m *Group) GetId() string
- func (m *Group) Marshal() (dAtA []byte, err error)
- func (m *Group) MarshalTo(dAtA []byte) (int, error)
- func (*Group) ProtoMessage()
- func (m *Group) Reset()
- func (m *Group) Size() (n int)
- func (m *Group) String() string
- func (m *Group) Unmarshal(dAtA []byte) error
- 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 Item
- func (*Item) Descriptor() ([]byte, []int)
- func (m *Item) GetFile() string
- func (m *Item) GetTime() int32
- func (m *Item) Marshal() (dAtA []byte, err error)
- func (m *Item) MarshalTo(dAtA []byte) (int, error)
- func (*Item) ProtoMessage()
- func (m *Item) Reset()
- func (m *Item) Size() (n int)
- func (m *Item) String() string
- func (m *Item) Unmarshal(dAtA []byte) error
- func (m *Item) XXX_DiscardUnknown()
- func (m *Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Item) XXX_Merge(src proto.Message)
- func (m *Item) XXX_Size() int
- func (m *Item) XXX_Unmarshal(b []byte) error
- type ListDevicesByGroupRequest
- func (*ListDevicesByGroupRequest) Descriptor() ([]byte, []int)
- func (m *ListDevicesByGroupRequest) GetGroupId() string
- func (m *ListDevicesByGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *ListDevicesByGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (*ListDevicesByGroupRequest) ProtoMessage()
- func (m *ListDevicesByGroupRequest) Reset()
- func (m *ListDevicesByGroupRequest) Size() (n int)
- func (m *ListDevicesByGroupRequest) String() string
- func (m *ListDevicesByGroupRequest) Unmarshal(dAtA []byte) error
- func (m *ListDevicesByGroupRequest) XXX_DiscardUnknown()
- func (m *ListDevicesByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDevicesByGroupRequest) XXX_Merge(src proto.Message)
- func (m *ListDevicesByGroupRequest) XXX_Size() int
- func (m *ListDevicesByGroupRequest) XXX_Unmarshal(b []byte) error
- type ListDevicesByGroupResponse
- func (*ListDevicesByGroupResponse) Descriptor() ([]byte, []int)
- func (m *ListDevicesByGroupResponse) GetDevices() []*Device
- func (m *ListDevicesByGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *ListDevicesByGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ListDevicesByGroupResponse) ProtoMessage()
- func (m *ListDevicesByGroupResponse) Reset()
- func (m *ListDevicesByGroupResponse) Size() (n int)
- func (m *ListDevicesByGroupResponse) String() string
- func (m *ListDevicesByGroupResponse) Unmarshal(dAtA []byte) error
- func (m *ListDevicesByGroupResponse) XXX_DiscardUnknown()
- func (m *ListDevicesByGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDevicesByGroupResponse) XXX_Merge(src proto.Message)
- func (m *ListDevicesByGroupResponse) XXX_Size() int
- func (m *ListDevicesByGroupResponse) XXX_Unmarshal(b []byte) error
- type ListDevicesResponse
- func (*ListDevicesResponse) Descriptor() ([]byte, []int)
- func (m *ListDevicesResponse) GetDevices() []*Device
- func (m *ListDevicesResponse) Marshal() (dAtA []byte, err error)
- func (m *ListDevicesResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ListDevicesResponse) ProtoMessage()
- func (m *ListDevicesResponse) Reset()
- func (m *ListDevicesResponse) Size() (n int)
- func (m *ListDevicesResponse) String() string
- func (m *ListDevicesResponse) Unmarshal(dAtA []byte) error
- 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 ListGroupsResponse
- func (*ListGroupsResponse) Descriptor() ([]byte, []int)
- func (m *ListGroupsResponse) GetGroups() []*Group
- func (m *ListGroupsResponse) Marshal() (dAtA []byte, err error)
- func (m *ListGroupsResponse) MarshalTo(dAtA []byte) (int, error)
- func (*ListGroupsResponse) ProtoMessage()
- func (m *ListGroupsResponse) Reset()
- func (m *ListGroupsResponse) Size() (n int)
- func (m *ListGroupsResponse) String() string
- func (m *ListGroupsResponse) Unmarshal(dAtA []byte) error
- 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 Location
- func (*Location) Descriptor() ([]byte, []int)
- func (m *Location) GetLat() int64
- func (m *Location) GetLng() int64
- func (m *Location) Marshal() (dAtA []byte, err error)
- func (m *Location) MarshalTo(dAtA []byte) (int, error)
- func (*Location) ProtoMessage()
- func (m *Location) Reset()
- func (m *Location) Size() (n int)
- func (m *Location) String() string
- func (m *Location) Unmarshal(dAtA []byte) error
- func (m *Location) XXX_DiscardUnknown()
- func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Location) XXX_Merge(src proto.Message)
- func (m *Location) XXX_Size() int
- func (m *Location) XXX_Unmarshal(b []byte) error
- type LoginRequest
- func (*LoginRequest) Descriptor() ([]byte, []int)
- func (m *LoginRequest) GetPassword() string
- func (m *LoginRequest) GetUsername() string
- func (m *LoginRequest) Marshal() (dAtA []byte, err error)
- func (m *LoginRequest) MarshalTo(dAtA []byte) (int, error)
- func (*LoginRequest) ProtoMessage()
- func (m *LoginRequest) Reset()
- func (m *LoginRequest) Size() (n int)
- func (m *LoginRequest) String() string
- func (m *LoginRequest) Unmarshal(dAtA []byte) error
- func (m *LoginRequest) XXX_DiscardUnknown()
- func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginRequest) XXX_Merge(src proto.Message)
- func (m *LoginRequest) XXX_Size() int
- func (m *LoginRequest) XXX_Unmarshal(b []byte) error
- type LoginResponse
- func (*LoginResponse) Descriptor() ([]byte, []int)
- func (m *LoginResponse) GetToken() string
- func (m *LoginResponse) Marshal() (dAtA []byte, err error)
- func (m *LoginResponse) MarshalTo(dAtA []byte) (int, error)
- func (*LoginResponse) ProtoMessage()
- func (m *LoginResponse) Reset()
- func (m *LoginResponse) Size() (n int)
- func (m *LoginResponse) String() string
- func (m *LoginResponse) Unmarshal(dAtA []byte) error
- func (m *LoginResponse) XXX_DiscardUnknown()
- func (m *LoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoginResponse) XXX_Merge(src proto.Message)
- func (m *LoginResponse) XXX_Size() int
- func (m *LoginResponse) XXX_Unmarshal(b []byte) error
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetData() []byte
- func (m *Message) GetId() string
- func (m *Message) GetReply() string
- func (m *Message) GetSequence() uint64
- func (m *Message) GetSubject() string
- func (m *Message) GetTimestamp() int64
- func (m *Message) Marshal() (dAtA []byte, err error)
- func (m *Message) MarshalTo(dAtA []byte) (int, error)
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) Size() (n int)
- func (m *Message) String() string
- func (m *Message) Unmarshal(dAtA []byte) error
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type Playlist
- func (*Playlist) Descriptor() ([]byte, []int)
- func (m *Playlist) GetItems() []*Item
- func (m *Playlist) Marshal() (dAtA []byte, err error)
- func (m *Playlist) MarshalTo(dAtA []byte) (int, error)
- func (*Playlist) ProtoMessage()
- func (m *Playlist) Reset()
- func (m *Playlist) Size() (n int)
- func (m *Playlist) String() string
- func (m *Playlist) Unmarshal(dAtA []byte) error
- func (m *Playlist) XXX_DiscardUnknown()
- func (m *Playlist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Playlist) XXX_Merge(src proto.Message)
- func (m *Playlist) XXX_Size() int
- func (m *Playlist) XXX_Unmarshal(b []byte) error
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m *Status) GetFiles() []string
- func (m *Status) GetId() string
- func (m *Status) GetPlayingNow() string
- func (m *Status) GetPlaylist() *Playlist
- func (m *Status) GetTest() bool
- func (m *Status) Marshal() (dAtA []byte, err error)
- func (m *Status) MarshalTo(dAtA []byte) (int, error)
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) Size() (n int)
- func (m *Status) String() string
- func (m *Status) Unmarshal(dAtA []byte) error
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
- type Status2
- func (*Status2) Descriptor() ([]byte, []int)
- func (m *Status2) GetFiles() []string
- func (m *Status2) GetLastSync() int64
- func (m *Status2) GetName() string
- func (m *Status2) GetPlaying() string
- func (m *Status2) GetPlaylist() *Item
- func (m *Status2) Marshal() (dAtA []byte, err error)
- func (m *Status2) MarshalTo(dAtA []byte) (int, error)
- func (*Status2) ProtoMessage()
- func (m *Status2) Reset()
- func (m *Status2) Size() (n int)
- func (m *Status2) String() string
- func (m *Status2) Unmarshal(dAtA []byte) error
- func (m *Status2) XXX_DiscardUnknown()
- func (m *Status2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Status2) XXX_Merge(src proto.Message)
- func (m *Status2) XXX_Size() int
- func (m *Status2) XXX_Unmarshal(b []byte) error
- type Sync
- func (*Sync) Descriptor() ([]byte, []int)
- func (m *Sync) Marshal() (dAtA []byte, err error)
- func (m *Sync) MarshalTo(dAtA []byte) (int, error)
- func (*Sync) ProtoMessage()
- func (m *Sync) Reset()
- func (m *Sync) Size() (n int)
- func (m *Sync) String() string
- func (m *Sync) Unmarshal(dAtA []byte) error
- func (m *Sync) XXX_DiscardUnknown()
- func (m *Sync) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sync) XXX_Merge(src proto.Message)
- func (m *Sync) XXX_Size() int
- func (m *Sync) XXX_Unmarshal(b []byte) error
- type Test
- func (*Test) Descriptor() ([]byte, []int)
- func (m *Test) GetEnabled() bool
- func (m *Test) Marshal() (dAtA []byte, err error)
- func (m *Test) MarshalTo(dAtA []byte) (int, error)
- func (*Test) ProtoMessage()
- func (m *Test) Reset()
- func (m *Test) Size() (n int)
- func (m *Test) String() string
- func (m *Test) Unmarshal(dAtA []byte) error
- func (m *Test) XXX_DiscardUnknown()
- func (m *Test) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Test) XXX_Merge(src proto.Message)
- func (m *Test) XXX_Size() int
- func (m *Test) XXX_Unmarshal(b []byte) error
- type UnimplementedDeviceServiceServer
- func (*UnimplementedDeviceServiceServer) ActionSync(ctx context.Context, req *ActionSyncRequest) (*types.Empty, error)
- func (*UnimplementedDeviceServiceServer) ActionSyncAll(ctx context.Context, req *types.Empty) (*types.Empty, error)
- func (*UnimplementedDeviceServiceServer) ActionSyncByGroup(ctx context.Context, req *ActionSyncByGroupRequest) (*types.Empty, error)
- func (*UnimplementedDeviceServiceServer) ActionTest(ctx context.Context, req *ActionTestRequest) (*types.Empty, error)
- func (*UnimplementedDeviceServiceServer) ActionTestAll(ctx context.Context, req *types.Empty) (*types.Empty, error)
- func (*UnimplementedDeviceServiceServer) ActionTestByGroup(ctx context.Context, req *ActionTestByGroupRequest) (*types.Empty, error)
- func (*UnimplementedDeviceServiceServer) CreateDevice(ctx context.Context, req *CreateDeviceRequest) (*CreateDeviceResponse, error)
- func (*UnimplementedDeviceServiceServer) DeleteDevice(ctx context.Context, req *DeleteDeviceRequest) (*DeleteDeviceResponse, error)
- func (*UnimplementedDeviceServiceServer) GetDevice(ctx context.Context, req *GetDeviceRequest) (*GetDeviceResponse, error)
- func (*UnimplementedDeviceServiceServer) GetPlaylist(ctx context.Context, req *GetPlaylistRequest) (*GetPlaylistResponse, error)
- func (*UnimplementedDeviceServiceServer) GetPlaylistByGroup(ctx context.Context, req *GetPlaylistByGroupRequest) (*GetPlaylistByGroupResponse, error)
- func (*UnimplementedDeviceServiceServer) ListDevices(ctx context.Context, req *types.Empty) (*ListDevicesResponse, error)
- func (*UnimplementedDeviceServiceServer) ListDevicesByGroup(ctx context.Context, req *ListDevicesByGroupRequest) (*ListDevicesByGroupResponse, error)
- func (*UnimplementedDeviceServiceServer) ListGroups(ctx context.Context, req *types.Empty) (*ListGroupsResponse, error)
- func (*UnimplementedDeviceServiceServer) Login(ctx context.Context, req *LoginRequest) (*LoginResponse, error)
- func (*UnimplementedDeviceServiceServer) Logout(ctx context.Context, req *types.Empty) (*types.Empty, error)
- func (*UnimplementedDeviceServiceServer) UpdateDevice(ctx context.Context, req *UpdateDeviceRequest) (*UpdateDeviceResponse, error)
- func (*UnimplementedDeviceServiceServer) UpdateDevicesByGroup(ctx context.Context, req *UpdateDevicesByGroupRequest) (*UpdateDevicesByGroupResponse, error)
- func (*UnimplementedDeviceServiceServer) UpdatePlaylist(ctx context.Context, req *UpdatePlaylistRequest) (*UpdatePlaylistResponse, error)
- func (*UnimplementedDeviceServiceServer) UpdatePlaylistByGroup(ctx context.Context, req *UpdatePlaylistByGroupRequest) (*UpdatePlaylistByGroupResponse, error)
- type UpdateDeviceRequest
- func (*UpdateDeviceRequest) Descriptor() ([]byte, []int)
- func (m *UpdateDeviceRequest) GetDevice() *Device
- func (m *UpdateDeviceRequest) GetId() string
- func (m *UpdateDeviceRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateDeviceRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateDeviceRequest) ProtoMessage()
- func (m *UpdateDeviceRequest) Reset()
- func (m *UpdateDeviceRequest) Size() (n int)
- func (m *UpdateDeviceRequest) String() string
- func (m *UpdateDeviceRequest) Unmarshal(dAtA []byte) error
- func (m *UpdateDeviceRequest) XXX_DiscardUnknown()
- func (m *UpdateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateDeviceRequest) XXX_Merge(src proto.Message)
- func (m *UpdateDeviceRequest) XXX_Size() int
- func (m *UpdateDeviceRequest) XXX_Unmarshal(b []byte) error
- type UpdateDeviceResponse
- func (*UpdateDeviceResponse) Descriptor() ([]byte, []int)
- func (m *UpdateDeviceResponse) GetDevice() *Device
- func (m *UpdateDeviceResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdateDeviceResponse) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateDeviceResponse) ProtoMessage()
- func (m *UpdateDeviceResponse) Reset()
- func (m *UpdateDeviceResponse) Size() (n int)
- func (m *UpdateDeviceResponse) String() string
- func (m *UpdateDeviceResponse) Unmarshal(dAtA []byte) error
- func (m *UpdateDeviceResponse) XXX_DiscardUnknown()
- func (m *UpdateDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateDeviceResponse) XXX_Merge(src proto.Message)
- func (m *UpdateDeviceResponse) XXX_Size() int
- func (m *UpdateDeviceResponse) XXX_Unmarshal(b []byte) error
- type UpdateDevicesByGroupRequest
- func (*UpdateDevicesByGroupRequest) Descriptor() ([]byte, []int)
- func (m *UpdateDevicesByGroupRequest) GetGroupId() string
- func (m *UpdateDevicesByGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdateDevicesByGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateDevicesByGroupRequest) ProtoMessage()
- func (m *UpdateDevicesByGroupRequest) Reset()
- func (m *UpdateDevicesByGroupRequest) Size() (n int)
- func (m *UpdateDevicesByGroupRequest) String() string
- func (m *UpdateDevicesByGroupRequest) Unmarshal(dAtA []byte) error
- func (m *UpdateDevicesByGroupRequest) XXX_DiscardUnknown()
- func (m *UpdateDevicesByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateDevicesByGroupRequest) XXX_Merge(src proto.Message)
- func (m *UpdateDevicesByGroupRequest) XXX_Size() int
- func (m *UpdateDevicesByGroupRequest) XXX_Unmarshal(b []byte) error
- type UpdateDevicesByGroupResponse
- func (*UpdateDevicesByGroupResponse) Descriptor() ([]byte, []int)
- func (m *UpdateDevicesByGroupResponse) GetDevices() []*Device
- func (m *UpdateDevicesByGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdateDevicesByGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (*UpdateDevicesByGroupResponse) ProtoMessage()
- func (m *UpdateDevicesByGroupResponse) Reset()
- func (m *UpdateDevicesByGroupResponse) Size() (n int)
- func (m *UpdateDevicesByGroupResponse) String() string
- func (m *UpdateDevicesByGroupResponse) Unmarshal(dAtA []byte) error
- func (m *UpdateDevicesByGroupResponse) XXX_DiscardUnknown()
- func (m *UpdateDevicesByGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateDevicesByGroupResponse) XXX_Merge(src proto.Message)
- func (m *UpdateDevicesByGroupResponse) XXX_Size() int
- func (m *UpdateDevicesByGroupResponse) XXX_Unmarshal(b []byte) error
- type UpdatePlaylistByGroupRequest
- func (*UpdatePlaylistByGroupRequest) Descriptor() ([]byte, []int)
- func (m *UpdatePlaylistByGroupRequest) GetGroupId() string
- func (m *UpdatePlaylistByGroupRequest) GetPlaylist() *Playlist
- func (m *UpdatePlaylistByGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdatePlaylistByGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UpdatePlaylistByGroupRequest) ProtoMessage()
- func (m *UpdatePlaylistByGroupRequest) Reset()
- func (m *UpdatePlaylistByGroupRequest) Size() (n int)
- func (m *UpdatePlaylistByGroupRequest) String() string
- func (m *UpdatePlaylistByGroupRequest) Unmarshal(dAtA []byte) error
- func (m *UpdatePlaylistByGroupRequest) XXX_DiscardUnknown()
- func (m *UpdatePlaylistByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdatePlaylistByGroupRequest) XXX_Merge(src proto.Message)
- func (m *UpdatePlaylistByGroupRequest) XXX_Size() int
- func (m *UpdatePlaylistByGroupRequest) XXX_Unmarshal(b []byte) error
- type UpdatePlaylistByGroupResponse
- func (*UpdatePlaylistByGroupResponse) Descriptor() ([]byte, []int)
- func (m *UpdatePlaylistByGroupResponse) GetPlaylist() *Playlist
- func (m *UpdatePlaylistByGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdatePlaylistByGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (*UpdatePlaylistByGroupResponse) ProtoMessage()
- func (m *UpdatePlaylistByGroupResponse) Reset()
- func (m *UpdatePlaylistByGroupResponse) Size() (n int)
- func (m *UpdatePlaylistByGroupResponse) String() string
- func (m *UpdatePlaylistByGroupResponse) Unmarshal(dAtA []byte) error
- func (m *UpdatePlaylistByGroupResponse) XXX_DiscardUnknown()
- func (m *UpdatePlaylistByGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdatePlaylistByGroupResponse) XXX_Merge(src proto.Message)
- func (m *UpdatePlaylistByGroupResponse) XXX_Size() int
- func (m *UpdatePlaylistByGroupResponse) XXX_Unmarshal(b []byte) error
- type UpdatePlaylistRequest
- func (*UpdatePlaylistRequest) Descriptor() ([]byte, []int)
- func (m *UpdatePlaylistRequest) GetId() string
- func (m *UpdatePlaylistRequest) GetPlaylist() *Playlist
- func (m *UpdatePlaylistRequest) Marshal() (dAtA []byte, err error)
- func (m *UpdatePlaylistRequest) MarshalTo(dAtA []byte) (int, error)
- func (*UpdatePlaylistRequest) ProtoMessage()
- func (m *UpdatePlaylistRequest) Reset()
- func (m *UpdatePlaylistRequest) Size() (n int)
- func (m *UpdatePlaylistRequest) String() string
- func (m *UpdatePlaylistRequest) Unmarshal(dAtA []byte) error
- func (m *UpdatePlaylistRequest) XXX_DiscardUnknown()
- func (m *UpdatePlaylistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdatePlaylistRequest) XXX_Merge(src proto.Message)
- func (m *UpdatePlaylistRequest) XXX_Size() int
- func (m *UpdatePlaylistRequest) XXX_Unmarshal(b []byte) error
- type UpdatePlaylistResponse
- func (*UpdatePlaylistResponse) Descriptor() ([]byte, []int)
- func (m *UpdatePlaylistResponse) GetPlaylist() *Playlist
- func (m *UpdatePlaylistResponse) Marshal() (dAtA []byte, err error)
- func (m *UpdatePlaylistResponse) MarshalTo(dAtA []byte) (int, error)
- func (*UpdatePlaylistResponse) ProtoMessage()
- func (m *UpdatePlaylistResponse) Reset()
- func (m *UpdatePlaylistResponse) Size() (n int)
- func (m *UpdatePlaylistResponse) String() string
- func (m *UpdatePlaylistResponse) Unmarshal(dAtA []byte) error
- func (m *UpdatePlaylistResponse) XXX_DiscardUnknown()
- func (m *UpdatePlaylistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdatePlaylistResponse) XXX_Merge(src proto.Message)
- func (m *UpdatePlaylistResponse) XXX_Size() int
- func (m *UpdatePlaylistResponse) XXX_Unmarshal(b []byte) error
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetEmail() string
- func (m *User) GetName() string
- func (m *User) GetPassword() string
- func (m *User) Marshal() (dAtA []byte, err error)
- func (m *User) MarshalTo(dAtA []byte) (int, error)
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) Size() (n int)
- func (m *User) String() string
- func (m *User) Unmarshal(dAtA []byte) error
- func (m *User) XXX_DiscardUnknown()
- func (m *User) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *User) XXX_Merge(src proto.Message)
- func (m *User) XXX_Size() int
- func (m *User) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthAdbus = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAdbus = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterDeviceServiceHandler ¶
func RegisterDeviceServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterDeviceServiceHandler registers the http handlers for service DeviceService to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterDeviceServiceHandlerClient ¶
func RegisterDeviceServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DeviceServiceClient) error
RegisterDeviceServiceHandlerClient registers the http handlers for service DeviceService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DeviceServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DeviceServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DeviceServiceClient" to call the correct interceptors.
func RegisterDeviceServiceHandlerFromEndpoint ¶
func RegisterDeviceServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterDeviceServiceHandlerFromEndpoint is same as RegisterDeviceServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterDeviceServiceServer ¶
func RegisterDeviceServiceServer(s *grpc.Server, srv DeviceServiceServer)
Types ¶
type ActionSyncByGroupRequest ¶
type ActionSyncByGroupRequest struct {
GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}
func (*ActionSyncByGroupRequest) Descriptor ¶
func (*ActionSyncByGroupRequest) Descriptor() ([]byte, []int)
func (*ActionSyncByGroupRequest) GetGroupId ¶
func (m *ActionSyncByGroupRequest) GetGroupId() string
func (*ActionSyncByGroupRequest) Marshal ¶
func (m *ActionSyncByGroupRequest) Marshal() (dAtA []byte, err error)
func (*ActionSyncByGroupRequest) MarshalTo ¶
func (m *ActionSyncByGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*ActionSyncByGroupRequest) ProtoMessage ¶
func (*ActionSyncByGroupRequest) ProtoMessage()
func (*ActionSyncByGroupRequest) Reset ¶
func (m *ActionSyncByGroupRequest) Reset()
func (*ActionSyncByGroupRequest) Size ¶
func (m *ActionSyncByGroupRequest) Size() (n int)
func (*ActionSyncByGroupRequest) String ¶
func (m *ActionSyncByGroupRequest) String() string
func (*ActionSyncByGroupRequest) Unmarshal ¶
func (m *ActionSyncByGroupRequest) Unmarshal(dAtA []byte) error
func (*ActionSyncByGroupRequest) XXX_DiscardUnknown ¶
func (m *ActionSyncByGroupRequest) XXX_DiscardUnknown()
func (*ActionSyncByGroupRequest) XXX_Marshal ¶
func (m *ActionSyncByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActionSyncByGroupRequest) XXX_Merge ¶
func (m *ActionSyncByGroupRequest) XXX_Merge(src proto.Message)
func (*ActionSyncByGroupRequest) XXX_Size ¶
func (m *ActionSyncByGroupRequest) XXX_Size() int
func (*ActionSyncByGroupRequest) XXX_Unmarshal ¶
func (m *ActionSyncByGroupRequest) XXX_Unmarshal(b []byte) error
type ActionSyncRequest ¶
type ActionSyncRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
POST /v1/devices/{id}/sync
func (*ActionSyncRequest) Descriptor ¶
func (*ActionSyncRequest) Descriptor() ([]byte, []int)
func (*ActionSyncRequest) GetId ¶
func (m *ActionSyncRequest) GetId() string
func (*ActionSyncRequest) Marshal ¶
func (m *ActionSyncRequest) Marshal() (dAtA []byte, err error)
func (*ActionSyncRequest) MarshalTo ¶
func (m *ActionSyncRequest) MarshalTo(dAtA []byte) (int, error)
func (*ActionSyncRequest) ProtoMessage ¶
func (*ActionSyncRequest) ProtoMessage()
func (*ActionSyncRequest) Reset ¶
func (m *ActionSyncRequest) Reset()
func (*ActionSyncRequest) Size ¶
func (m *ActionSyncRequest) Size() (n int)
func (*ActionSyncRequest) String ¶
func (m *ActionSyncRequest) String() string
func (*ActionSyncRequest) Unmarshal ¶
func (m *ActionSyncRequest) Unmarshal(dAtA []byte) error
func (*ActionSyncRequest) XXX_DiscardUnknown ¶
func (m *ActionSyncRequest) XXX_DiscardUnknown()
func (*ActionSyncRequest) XXX_Marshal ¶
func (m *ActionSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActionSyncRequest) XXX_Merge ¶
func (m *ActionSyncRequest) XXX_Merge(src proto.Message)
func (*ActionSyncRequest) XXX_Size ¶
func (m *ActionSyncRequest) XXX_Size() int
func (*ActionSyncRequest) XXX_Unmarshal ¶
func (m *ActionSyncRequest) XXX_Unmarshal(b []byte) error
type ActionTestByGroupRequest ¶
type ActionTestByGroupRequest struct {
GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}
func (*ActionTestByGroupRequest) Descriptor ¶
func (*ActionTestByGroupRequest) Descriptor() ([]byte, []int)
func (*ActionTestByGroupRequest) GetGroupId ¶
func (m *ActionTestByGroupRequest) GetGroupId() string
func (*ActionTestByGroupRequest) Marshal ¶
func (m *ActionTestByGroupRequest) Marshal() (dAtA []byte, err error)
func (*ActionTestByGroupRequest) MarshalTo ¶
func (m *ActionTestByGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*ActionTestByGroupRequest) ProtoMessage ¶
func (*ActionTestByGroupRequest) ProtoMessage()
func (*ActionTestByGroupRequest) Reset ¶
func (m *ActionTestByGroupRequest) Reset()
func (*ActionTestByGroupRequest) Size ¶
func (m *ActionTestByGroupRequest) Size() (n int)
func (*ActionTestByGroupRequest) String ¶
func (m *ActionTestByGroupRequest) String() string
func (*ActionTestByGroupRequest) Unmarshal ¶
func (m *ActionTestByGroupRequest) Unmarshal(dAtA []byte) error
func (*ActionTestByGroupRequest) XXX_DiscardUnknown ¶
func (m *ActionTestByGroupRequest) XXX_DiscardUnknown()
func (*ActionTestByGroupRequest) XXX_Marshal ¶
func (m *ActionTestByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActionTestByGroupRequest) XXX_Merge ¶
func (m *ActionTestByGroupRequest) XXX_Merge(src proto.Message)
func (*ActionTestByGroupRequest) XXX_Size ¶
func (m *ActionTestByGroupRequest) XXX_Size() int
func (*ActionTestByGroupRequest) XXX_Unmarshal ¶
func (m *ActionTestByGroupRequest) XXX_Unmarshal(b []byte) error
type ActionTestRequest ¶
type ActionTestRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
POST /v1/devices/{id}/test
func (*ActionTestRequest) Descriptor ¶
func (*ActionTestRequest) Descriptor() ([]byte, []int)
func (*ActionTestRequest) GetId ¶
func (m *ActionTestRequest) GetId() string
func (*ActionTestRequest) Marshal ¶
func (m *ActionTestRequest) Marshal() (dAtA []byte, err error)
func (*ActionTestRequest) MarshalTo ¶
func (m *ActionTestRequest) MarshalTo(dAtA []byte) (int, error)
func (*ActionTestRequest) ProtoMessage ¶
func (*ActionTestRequest) ProtoMessage()
func (*ActionTestRequest) Reset ¶
func (m *ActionTestRequest) Reset()
func (*ActionTestRequest) Size ¶
func (m *ActionTestRequest) Size() (n int)
func (*ActionTestRequest) String ¶
func (m *ActionTestRequest) String() string
func (*ActionTestRequest) Unmarshal ¶
func (m *ActionTestRequest) Unmarshal(dAtA []byte) error
func (*ActionTestRequest) XXX_DiscardUnknown ¶
func (m *ActionTestRequest) XXX_DiscardUnknown()
func (*ActionTestRequest) XXX_Marshal ¶
func (m *ActionTestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ActionTestRequest) XXX_Merge ¶
func (m *ActionTestRequest) XXX_Merge(src proto.Message)
func (*ActionTestRequest) XXX_Size ¶
func (m *ActionTestRequest) XXX_Size() int
func (*ActionTestRequest) XXX_Unmarshal ¶
func (m *ActionTestRequest) XXX_Unmarshal(b []byte) error
type CreateDeviceRequest ¶
type CreateDeviceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Device *Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` }
POST /v1/devices
func (*CreateDeviceRequest) Descriptor ¶
func (*CreateDeviceRequest) Descriptor() ([]byte, []int)
func (*CreateDeviceRequest) GetDevice ¶
func (m *CreateDeviceRequest) GetDevice() *Device
func (*CreateDeviceRequest) GetId ¶
func (m *CreateDeviceRequest) GetId() string
func (*CreateDeviceRequest) Marshal ¶
func (m *CreateDeviceRequest) Marshal() (dAtA []byte, err error)
func (*CreateDeviceRequest) MarshalTo ¶
func (m *CreateDeviceRequest) MarshalTo(dAtA []byte) (int, error)
func (*CreateDeviceRequest) ProtoMessage ¶
func (*CreateDeviceRequest) ProtoMessage()
func (*CreateDeviceRequest) Reset ¶
func (m *CreateDeviceRequest) Reset()
func (*CreateDeviceRequest) Size ¶
func (m *CreateDeviceRequest) Size() (n int)
func (*CreateDeviceRequest) String ¶
func (m *CreateDeviceRequest) String() string
func (*CreateDeviceRequest) Unmarshal ¶
func (m *CreateDeviceRequest) Unmarshal(dAtA []byte) error
func (*CreateDeviceRequest) XXX_DiscardUnknown ¶
func (m *CreateDeviceRequest) XXX_DiscardUnknown()
func (*CreateDeviceRequest) XXX_Marshal ¶
func (m *CreateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateDeviceRequest) XXX_Merge ¶
func (m *CreateDeviceRequest) XXX_Merge(src proto.Message)
func (*CreateDeviceRequest) XXX_Size ¶
func (m *CreateDeviceRequest) XXX_Size() int
func (*CreateDeviceRequest) XXX_Unmarshal ¶
func (m *CreateDeviceRequest) XXX_Unmarshal(b []byte) error
type CreateDeviceResponse ¶
type CreateDeviceResponse struct {
Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
}
func (*CreateDeviceResponse) Descriptor ¶
func (*CreateDeviceResponse) Descriptor() ([]byte, []int)
func (*CreateDeviceResponse) GetDevice ¶
func (m *CreateDeviceResponse) GetDevice() *Device
func (*CreateDeviceResponse) Marshal ¶
func (m *CreateDeviceResponse) Marshal() (dAtA []byte, err error)
func (*CreateDeviceResponse) MarshalTo ¶
func (m *CreateDeviceResponse) MarshalTo(dAtA []byte) (int, error)
func (*CreateDeviceResponse) ProtoMessage ¶
func (*CreateDeviceResponse) ProtoMessage()
func (*CreateDeviceResponse) Reset ¶
func (m *CreateDeviceResponse) Reset()
func (*CreateDeviceResponse) Size ¶
func (m *CreateDeviceResponse) Size() (n int)
func (*CreateDeviceResponse) String ¶
func (m *CreateDeviceResponse) String() string
func (*CreateDeviceResponse) Unmarshal ¶
func (m *CreateDeviceResponse) Unmarshal(dAtA []byte) error
func (*CreateDeviceResponse) XXX_DiscardUnknown ¶
func (m *CreateDeviceResponse) XXX_DiscardUnknown()
func (*CreateDeviceResponse) XXX_Marshal ¶
func (m *CreateDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateDeviceResponse) XXX_Merge ¶
func (m *CreateDeviceResponse) XXX_Merge(src proto.Message)
func (*CreateDeviceResponse) XXX_Size ¶
func (m *CreateDeviceResponse) XXX_Size() int
func (*CreateDeviceResponse) XXX_Unmarshal ¶
func (m *CreateDeviceResponse) XXX_Unmarshal(b []byte) error
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
DELETE /v1/devices/{id}
func (*DeleteDeviceRequest) Descriptor ¶
func (*DeleteDeviceRequest) Descriptor() ([]byte, []int)
func (*DeleteDeviceRequest) GetId ¶
func (m *DeleteDeviceRequest) GetId() string
func (*DeleteDeviceRequest) Marshal ¶
func (m *DeleteDeviceRequest) Marshal() (dAtA []byte, err error)
func (*DeleteDeviceRequest) MarshalTo ¶
func (m *DeleteDeviceRequest) MarshalTo(dAtA []byte) (int, error)
func (*DeleteDeviceRequest) ProtoMessage ¶
func (*DeleteDeviceRequest) ProtoMessage()
func (*DeleteDeviceRequest) Reset ¶
func (m *DeleteDeviceRequest) Reset()
func (*DeleteDeviceRequest) Size ¶
func (m *DeleteDeviceRequest) Size() (n int)
func (*DeleteDeviceRequest) String ¶
func (m *DeleteDeviceRequest) String() string
func (*DeleteDeviceRequest) Unmarshal ¶
func (m *DeleteDeviceRequest) Unmarshal(dAtA []byte) error
func (*DeleteDeviceRequest) XXX_DiscardUnknown ¶
func (m *DeleteDeviceRequest) XXX_DiscardUnknown()
func (*DeleteDeviceRequest) XXX_Marshal ¶
func (m *DeleteDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDeviceRequest) XXX_Merge ¶
func (m *DeleteDeviceRequest) XXX_Merge(src proto.Message)
func (*DeleteDeviceRequest) XXX_Size ¶
func (m *DeleteDeviceRequest) XXX_Size() int
func (*DeleteDeviceRequest) XXX_Unmarshal ¶
func (m *DeleteDeviceRequest) XXX_Unmarshal(b []byte) error
type DeleteDeviceResponse ¶
type DeleteDeviceResponse struct {
Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
}
func (*DeleteDeviceResponse) Descriptor ¶
func (*DeleteDeviceResponse) Descriptor() ([]byte, []int)
func (*DeleteDeviceResponse) GetDevice ¶
func (m *DeleteDeviceResponse) GetDevice() *Device
func (*DeleteDeviceResponse) Marshal ¶
func (m *DeleteDeviceResponse) Marshal() (dAtA []byte, err error)
func (*DeleteDeviceResponse) MarshalTo ¶
func (m *DeleteDeviceResponse) MarshalTo(dAtA []byte) (int, error)
func (*DeleteDeviceResponse) ProtoMessage ¶
func (*DeleteDeviceResponse) ProtoMessage()
func (*DeleteDeviceResponse) Reset ¶
func (m *DeleteDeviceResponse) Reset()
func (*DeleteDeviceResponse) Size ¶
func (m *DeleteDeviceResponse) Size() (n int)
func (*DeleteDeviceResponse) String ¶
func (m *DeleteDeviceResponse) String() string
func (*DeleteDeviceResponse) Unmarshal ¶
func (m *DeleteDeviceResponse) Unmarshal(dAtA []byte) error
func (*DeleteDeviceResponse) XXX_DiscardUnknown ¶
func (m *DeleteDeviceResponse) XXX_DiscardUnknown()
func (*DeleteDeviceResponse) XXX_Marshal ¶
func (m *DeleteDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDeviceResponse) XXX_Merge ¶
func (m *DeleteDeviceResponse) XXX_Merge(src proto.Message)
func (*DeleteDeviceResponse) XXX_Size ¶
func (m *DeleteDeviceResponse) XXX_Size() int
func (*DeleteDeviceResponse) XXX_Unmarshal ¶
func (m *DeleteDeviceResponse) XXX_Unmarshal(b []byte) error
type Device ¶
type Device struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` GroupId string `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` Storage string `protobuf:"bytes,4,opt,name=storage,proto3" json:"storage,omitempty"` Player string `protobuf:"bytes,5,opt,name=player,proto3" json:"player,omitempty"` Playing string `protobuf:"bytes,6,opt,name=playing,proto3" json:"playing,omitempty"` Playlist *Playlist `protobuf:"bytes,7,opt,name=playlist,proto3" json:"playlist,omitempty"` Location *Location `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"` }
func (*Device) Descriptor ¶
func (*Device) GetGroupId ¶
func (*Device) GetLocation ¶
func (*Device) GetPlaying ¶
func (*Device) GetPlaylist ¶
func (*Device) GetStorage ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) XXX_DiscardUnknown ¶
func (m *Device) XXX_DiscardUnknown()
func (*Device) XXX_Marshal ¶
func (*Device) XXX_Unmarshal ¶
type DeviceServiceClient ¶
type DeviceServiceClient interface { // GET /v1/login Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error) // GET /v1/logout Logout(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Empty, error) // GET /v1/devices ListDevices(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ListDevicesResponse, error) // POST /v1/devices CreateDevice(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*CreateDeviceResponse, error) // GET /v1/devices/{id} GetDevice(ctx context.Context, in *GetDeviceRequest, opts ...grpc.CallOption) (*GetDeviceResponse, error) // PUT /v1/devices/{id} UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*UpdateDeviceResponse, error) // DELETE /v1/devices/{id} DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*DeleteDeviceResponse, error) // GET /v1/devices/{id}/playlist GetPlaylist(ctx context.Context, in *GetPlaylistRequest, opts ...grpc.CallOption) (*GetPlaylistResponse, error) // PUT /v1/devices/{id}/playlist UpdatePlaylist(ctx context.Context, in *UpdatePlaylistRequest, opts ...grpc.CallOption) (*UpdatePlaylistResponse, error) // GET /v1/devices/groups ListGroups(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*ListGroupsResponse, error) // GET /v1/devices/groups/{group_id} ListDevicesByGroup(ctx context.Context, in *ListDevicesByGroupRequest, opts ...grpc.CallOption) (*ListDevicesByGroupResponse, error) // PUT /v1/devices/groups/{group_id} UpdateDevicesByGroup(ctx context.Context, in *UpdateDevicesByGroupRequest, opts ...grpc.CallOption) (*UpdateDevicesByGroupResponse, error) // GET /v1/devices/groups/{group_id}/playlist GetPlaylistByGroup(ctx context.Context, in *GetPlaylistByGroupRequest, opts ...grpc.CallOption) (*GetPlaylistByGroupResponse, error) // PUT /v1/devices/groups/{group_id}/playlist UpdatePlaylistByGroup(ctx context.Context, in *UpdatePlaylistByGroupRequest, opts ...grpc.CallOption) (*UpdatePlaylistByGroupResponse, error) // POST /v1/devices/groups/{group_id}/sync ActionSyncByGroup(ctx context.Context, in *ActionSyncByGroupRequest, opts ...grpc.CallOption) (*types.Empty, error) // POST /v1/devices/groups/{group_id}/test ActionTestByGroup(ctx context.Context, in *ActionTestByGroupRequest, opts ...grpc.CallOption) (*types.Empty, error) // POST /v1/devices/sync ActionSyncAll(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Empty, error) // POST /v1/devices/{id}/sync ActionSync(ctx context.Context, in *ActionSyncRequest, opts ...grpc.CallOption) (*types.Empty, error) // POST /v1/devices/test ActionTestAll(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Empty, error) // POST /v1/devices/{id}/test ActionTest(ctx context.Context, in *ActionTestRequest, opts ...grpc.CallOption) (*types.Empty, error) }
DeviceServiceClient is the client API for DeviceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDeviceServiceClient ¶
func NewDeviceServiceClient(cc *grpc.ClientConn) DeviceServiceClient
type DeviceServiceServer ¶
type DeviceServiceServer interface { // GET /v1/login Login(context.Context, *LoginRequest) (*LoginResponse, error) // GET /v1/logout Logout(context.Context, *types.Empty) (*types.Empty, error) // GET /v1/devices ListDevices(context.Context, *types.Empty) (*ListDevicesResponse, error) // POST /v1/devices CreateDevice(context.Context, *CreateDeviceRequest) (*CreateDeviceResponse, error) // GET /v1/devices/{id} GetDevice(context.Context, *GetDeviceRequest) (*GetDeviceResponse, error) // PUT /v1/devices/{id} UpdateDevice(context.Context, *UpdateDeviceRequest) (*UpdateDeviceResponse, error) // DELETE /v1/devices/{id} DeleteDevice(context.Context, *DeleteDeviceRequest) (*DeleteDeviceResponse, error) // GET /v1/devices/{id}/playlist GetPlaylist(context.Context, *GetPlaylistRequest) (*GetPlaylistResponse, error) // PUT /v1/devices/{id}/playlist UpdatePlaylist(context.Context, *UpdatePlaylistRequest) (*UpdatePlaylistResponse, error) // GET /v1/devices/groups ListGroups(context.Context, *types.Empty) (*ListGroupsResponse, error) // GET /v1/devices/groups/{group_id} ListDevicesByGroup(context.Context, *ListDevicesByGroupRequest) (*ListDevicesByGroupResponse, error) // PUT /v1/devices/groups/{group_id} UpdateDevicesByGroup(context.Context, *UpdateDevicesByGroupRequest) (*UpdateDevicesByGroupResponse, error) // GET /v1/devices/groups/{group_id}/playlist GetPlaylistByGroup(context.Context, *GetPlaylistByGroupRequest) (*GetPlaylistByGroupResponse, error) // PUT /v1/devices/groups/{group_id}/playlist UpdatePlaylistByGroup(context.Context, *UpdatePlaylistByGroupRequest) (*UpdatePlaylistByGroupResponse, error) // POST /v1/devices/groups/{group_id}/sync ActionSyncByGroup(context.Context, *ActionSyncByGroupRequest) (*types.Empty, error) // POST /v1/devices/groups/{group_id}/test ActionTestByGroup(context.Context, *ActionTestByGroupRequest) (*types.Empty, error) // POST /v1/devices/sync ActionSyncAll(context.Context, *types.Empty) (*types.Empty, error) // POST /v1/devices/{id}/sync ActionSync(context.Context, *ActionSyncRequest) (*types.Empty, error) // POST /v1/devices/test ActionTestAll(context.Context, *types.Empty) (*types.Empty, error) // POST /v1/devices/{id}/test ActionTest(context.Context, *ActionTestRequest) (*types.Empty, error) }
DeviceServiceServer is the server API for DeviceService service.
type GetDeviceRequest ¶
type GetDeviceRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
GET /v1/devices/{id}
func (*GetDeviceRequest) Descriptor ¶
func (*GetDeviceRequest) Descriptor() ([]byte, []int)
func (*GetDeviceRequest) GetId ¶
func (m *GetDeviceRequest) GetId() string
func (*GetDeviceRequest) Marshal ¶
func (m *GetDeviceRequest) Marshal() (dAtA []byte, err error)
func (*GetDeviceRequest) ProtoMessage ¶
func (*GetDeviceRequest) ProtoMessage()
func (*GetDeviceRequest) Reset ¶
func (m *GetDeviceRequest) Reset()
func (*GetDeviceRequest) Size ¶
func (m *GetDeviceRequest) Size() (n int)
func (*GetDeviceRequest) String ¶
func (m *GetDeviceRequest) String() string
func (*GetDeviceRequest) Unmarshal ¶
func (m *GetDeviceRequest) Unmarshal(dAtA []byte) error
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"`
}
func (*GetDeviceResponse) Descriptor ¶
func (*GetDeviceResponse) Descriptor() ([]byte, []int)
func (*GetDeviceResponse) GetDevice ¶
func (m *GetDeviceResponse) GetDevice() *Device
func (*GetDeviceResponse) Marshal ¶
func (m *GetDeviceResponse) Marshal() (dAtA []byte, err error)
func (*GetDeviceResponse) MarshalTo ¶
func (m *GetDeviceResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetDeviceResponse) ProtoMessage ¶
func (*GetDeviceResponse) ProtoMessage()
func (*GetDeviceResponse) Reset ¶
func (m *GetDeviceResponse) Reset()
func (*GetDeviceResponse) Size ¶
func (m *GetDeviceResponse) Size() (n int)
func (*GetDeviceResponse) String ¶
func (m *GetDeviceResponse) String() string
func (*GetDeviceResponse) Unmarshal ¶
func (m *GetDeviceResponse) Unmarshal(dAtA []byte) error
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 GetPlaylistByGroupRequest ¶
type GetPlaylistByGroupRequest struct {
GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}
GET /v1/devices/groups/{group_id}/playlist
func (*GetPlaylistByGroupRequest) Descriptor ¶
func (*GetPlaylistByGroupRequest) Descriptor() ([]byte, []int)
func (*GetPlaylistByGroupRequest) GetGroupId ¶
func (m *GetPlaylistByGroupRequest) GetGroupId() string
func (*GetPlaylistByGroupRequest) Marshal ¶
func (m *GetPlaylistByGroupRequest) Marshal() (dAtA []byte, err error)
func (*GetPlaylistByGroupRequest) MarshalTo ¶
func (m *GetPlaylistByGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetPlaylistByGroupRequest) ProtoMessage ¶
func (*GetPlaylistByGroupRequest) ProtoMessage()
func (*GetPlaylistByGroupRequest) Reset ¶
func (m *GetPlaylistByGroupRequest) Reset()
func (*GetPlaylistByGroupRequest) Size ¶
func (m *GetPlaylistByGroupRequest) Size() (n int)
func (*GetPlaylistByGroupRequest) String ¶
func (m *GetPlaylistByGroupRequest) String() string
func (*GetPlaylistByGroupRequest) Unmarshal ¶
func (m *GetPlaylistByGroupRequest) Unmarshal(dAtA []byte) error
func (*GetPlaylistByGroupRequest) XXX_DiscardUnknown ¶
func (m *GetPlaylistByGroupRequest) XXX_DiscardUnknown()
func (*GetPlaylistByGroupRequest) XXX_Marshal ¶
func (m *GetPlaylistByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPlaylistByGroupRequest) XXX_Merge ¶
func (m *GetPlaylistByGroupRequest) XXX_Merge(src proto.Message)
func (*GetPlaylistByGroupRequest) XXX_Size ¶
func (m *GetPlaylistByGroupRequest) XXX_Size() int
func (*GetPlaylistByGroupRequest) XXX_Unmarshal ¶
func (m *GetPlaylistByGroupRequest) XXX_Unmarshal(b []byte) error
type GetPlaylistByGroupResponse ¶
type GetPlaylistByGroupResponse struct {
Playlist *Playlist `protobuf:"bytes,1,opt,name=playlist,proto3" json:"playlist,omitempty"`
}
func (*GetPlaylistByGroupResponse) Descriptor ¶
func (*GetPlaylistByGroupResponse) Descriptor() ([]byte, []int)
func (*GetPlaylistByGroupResponse) GetPlaylist ¶
func (m *GetPlaylistByGroupResponse) GetPlaylist() *Playlist
func (*GetPlaylistByGroupResponse) Marshal ¶
func (m *GetPlaylistByGroupResponse) Marshal() (dAtA []byte, err error)
func (*GetPlaylistByGroupResponse) MarshalTo ¶
func (m *GetPlaylistByGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetPlaylistByGroupResponse) ProtoMessage ¶
func (*GetPlaylistByGroupResponse) ProtoMessage()
func (*GetPlaylistByGroupResponse) Reset ¶
func (m *GetPlaylistByGroupResponse) Reset()
func (*GetPlaylistByGroupResponse) Size ¶
func (m *GetPlaylistByGroupResponse) Size() (n int)
func (*GetPlaylistByGroupResponse) String ¶
func (m *GetPlaylistByGroupResponse) String() string
func (*GetPlaylistByGroupResponse) Unmarshal ¶
func (m *GetPlaylistByGroupResponse) Unmarshal(dAtA []byte) error
func (*GetPlaylistByGroupResponse) XXX_DiscardUnknown ¶
func (m *GetPlaylistByGroupResponse) XXX_DiscardUnknown()
func (*GetPlaylistByGroupResponse) XXX_Marshal ¶
func (m *GetPlaylistByGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPlaylistByGroupResponse) XXX_Merge ¶
func (m *GetPlaylistByGroupResponse) XXX_Merge(src proto.Message)
func (*GetPlaylistByGroupResponse) XXX_Size ¶
func (m *GetPlaylistByGroupResponse) XXX_Size() int
func (*GetPlaylistByGroupResponse) XXX_Unmarshal ¶
func (m *GetPlaylistByGroupResponse) XXX_Unmarshal(b []byte) error
type GetPlaylistRequest ¶
type GetPlaylistRequest struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}
GET /v1/devices/{id}/playlist
func (*GetPlaylistRequest) Descriptor ¶
func (*GetPlaylistRequest) Descriptor() ([]byte, []int)
func (*GetPlaylistRequest) GetId ¶
func (m *GetPlaylistRequest) GetId() string
func (*GetPlaylistRequest) Marshal ¶
func (m *GetPlaylistRequest) Marshal() (dAtA []byte, err error)
func (*GetPlaylistRequest) MarshalTo ¶
func (m *GetPlaylistRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetPlaylistRequest) ProtoMessage ¶
func (*GetPlaylistRequest) ProtoMessage()
func (*GetPlaylistRequest) Reset ¶
func (m *GetPlaylistRequest) Reset()
func (*GetPlaylistRequest) Size ¶
func (m *GetPlaylistRequest) Size() (n int)
func (*GetPlaylistRequest) String ¶
func (m *GetPlaylistRequest) String() string
func (*GetPlaylistRequest) Unmarshal ¶
func (m *GetPlaylistRequest) Unmarshal(dAtA []byte) error
func (*GetPlaylistRequest) XXX_DiscardUnknown ¶
func (m *GetPlaylistRequest) XXX_DiscardUnknown()
func (*GetPlaylistRequest) XXX_Marshal ¶
func (m *GetPlaylistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPlaylistRequest) XXX_Merge ¶
func (m *GetPlaylistRequest) XXX_Merge(src proto.Message)
func (*GetPlaylistRequest) XXX_Size ¶
func (m *GetPlaylistRequest) XXX_Size() int
func (*GetPlaylistRequest) XXX_Unmarshal ¶
func (m *GetPlaylistRequest) XXX_Unmarshal(b []byte) error
type GetPlaylistResponse ¶
type GetPlaylistResponse struct {
Playlist *Playlist `protobuf:"bytes,1,opt,name=playlist,proto3" json:"playlist,omitempty"`
}
func (*GetPlaylistResponse) Descriptor ¶
func (*GetPlaylistResponse) Descriptor() ([]byte, []int)
func (*GetPlaylistResponse) GetPlaylist ¶
func (m *GetPlaylistResponse) GetPlaylist() *Playlist
func (*GetPlaylistResponse) Marshal ¶
func (m *GetPlaylistResponse) Marshal() (dAtA []byte, err error)
func (*GetPlaylistResponse) MarshalTo ¶
func (m *GetPlaylistResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetPlaylistResponse) ProtoMessage ¶
func (*GetPlaylistResponse) ProtoMessage()
func (*GetPlaylistResponse) Reset ¶
func (m *GetPlaylistResponse) Reset()
func (*GetPlaylistResponse) Size ¶
func (m *GetPlaylistResponse) Size() (n int)
func (*GetPlaylistResponse) String ¶
func (m *GetPlaylistResponse) String() string
func (*GetPlaylistResponse) Unmarshal ¶
func (m *GetPlaylistResponse) Unmarshal(dAtA []byte) error
func (*GetPlaylistResponse) XXX_DiscardUnknown ¶
func (m *GetPlaylistResponse) XXX_DiscardUnknown()
func (*GetPlaylistResponse) XXX_Marshal ¶
func (m *GetPlaylistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPlaylistResponse) XXX_Merge ¶
func (m *GetPlaylistResponse) XXX_Merge(src proto.Message)
func (*GetPlaylistResponse) XXX_Size ¶
func (m *GetPlaylistResponse) XXX_Size() int
func (*GetPlaylistResponse) XXX_Unmarshal ¶
func (m *GetPlaylistResponse) XXX_Unmarshal(b []byte) error
type Group ¶
type Group struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Devices []*Device `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"` }
func (*Group) Descriptor ¶
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 Item ¶
type Item struct { File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` Time int32 `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"` }
func (*Item) Descriptor ¶
func (*Item) ProtoMessage ¶
func (*Item) ProtoMessage()
func (*Item) XXX_DiscardUnknown ¶
func (m *Item) XXX_DiscardUnknown()
func (*Item) XXX_Unmarshal ¶
type ListDevicesByGroupRequest ¶
type ListDevicesByGroupRequest struct {
GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}
GET /v1/devices/groups/{group_id}
func (*ListDevicesByGroupRequest) Descriptor ¶
func (*ListDevicesByGroupRequest) Descriptor() ([]byte, []int)
func (*ListDevicesByGroupRequest) GetGroupId ¶
func (m *ListDevicesByGroupRequest) GetGroupId() string
func (*ListDevicesByGroupRequest) Marshal ¶
func (m *ListDevicesByGroupRequest) Marshal() (dAtA []byte, err error)
func (*ListDevicesByGroupRequest) MarshalTo ¶
func (m *ListDevicesByGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*ListDevicesByGroupRequest) ProtoMessage ¶
func (*ListDevicesByGroupRequest) ProtoMessage()
func (*ListDevicesByGroupRequest) Reset ¶
func (m *ListDevicesByGroupRequest) Reset()
func (*ListDevicesByGroupRequest) Size ¶
func (m *ListDevicesByGroupRequest) Size() (n int)
func (*ListDevicesByGroupRequest) String ¶
func (m *ListDevicesByGroupRequest) String() string
func (*ListDevicesByGroupRequest) Unmarshal ¶
func (m *ListDevicesByGroupRequest) Unmarshal(dAtA []byte) error
func (*ListDevicesByGroupRequest) XXX_DiscardUnknown ¶
func (m *ListDevicesByGroupRequest) XXX_DiscardUnknown()
func (*ListDevicesByGroupRequest) XXX_Marshal ¶
func (m *ListDevicesByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDevicesByGroupRequest) XXX_Merge ¶
func (m *ListDevicesByGroupRequest) XXX_Merge(src proto.Message)
func (*ListDevicesByGroupRequest) XXX_Size ¶
func (m *ListDevicesByGroupRequest) XXX_Size() int
func (*ListDevicesByGroupRequest) XXX_Unmarshal ¶
func (m *ListDevicesByGroupRequest) XXX_Unmarshal(b []byte) error
type ListDevicesByGroupResponse ¶
type ListDevicesByGroupResponse struct {
Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
}
func (*ListDevicesByGroupResponse) Descriptor ¶
func (*ListDevicesByGroupResponse) Descriptor() ([]byte, []int)
func (*ListDevicesByGroupResponse) GetDevices ¶
func (m *ListDevicesByGroupResponse) GetDevices() []*Device
func (*ListDevicesByGroupResponse) Marshal ¶
func (m *ListDevicesByGroupResponse) Marshal() (dAtA []byte, err error)
func (*ListDevicesByGroupResponse) MarshalTo ¶
func (m *ListDevicesByGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListDevicesByGroupResponse) ProtoMessage ¶
func (*ListDevicesByGroupResponse) ProtoMessage()
func (*ListDevicesByGroupResponse) Reset ¶
func (m *ListDevicesByGroupResponse) Reset()
func (*ListDevicesByGroupResponse) Size ¶
func (m *ListDevicesByGroupResponse) Size() (n int)
func (*ListDevicesByGroupResponse) String ¶
func (m *ListDevicesByGroupResponse) String() string
func (*ListDevicesByGroupResponse) Unmarshal ¶
func (m *ListDevicesByGroupResponse) Unmarshal(dAtA []byte) error
func (*ListDevicesByGroupResponse) XXX_DiscardUnknown ¶
func (m *ListDevicesByGroupResponse) XXX_DiscardUnknown()
func (*ListDevicesByGroupResponse) XXX_Marshal ¶
func (m *ListDevicesByGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDevicesByGroupResponse) XXX_Merge ¶
func (m *ListDevicesByGroupResponse) XXX_Merge(src proto.Message)
func (*ListDevicesByGroupResponse) XXX_Size ¶
func (m *ListDevicesByGroupResponse) XXX_Size() int
func (*ListDevicesByGroupResponse) XXX_Unmarshal ¶
func (m *ListDevicesByGroupResponse) XXX_Unmarshal(b []byte) error
type ListDevicesResponse ¶
type ListDevicesResponse struct {
Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
}
func (*ListDevicesResponse) Descriptor ¶
func (*ListDevicesResponse) Descriptor() ([]byte, []int)
func (*ListDevicesResponse) GetDevices ¶
func (m *ListDevicesResponse) GetDevices() []*Device
func (*ListDevicesResponse) Marshal ¶
func (m *ListDevicesResponse) Marshal() (dAtA []byte, err error)
func (*ListDevicesResponse) MarshalTo ¶
func (m *ListDevicesResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListDevicesResponse) ProtoMessage ¶
func (*ListDevicesResponse) ProtoMessage()
func (*ListDevicesResponse) Reset ¶
func (m *ListDevicesResponse) Reset()
func (*ListDevicesResponse) Size ¶
func (m *ListDevicesResponse) Size() (n int)
func (*ListDevicesResponse) String ¶
func (m *ListDevicesResponse) String() string
func (*ListDevicesResponse) Unmarshal ¶
func (m *ListDevicesResponse) Unmarshal(dAtA []byte) error
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 ListGroupsResponse ¶
type ListGroupsResponse struct {
Groups []*Group `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
}
GET /v1/devices/groups
message ListGroupsRequest { string id = 1; }
func (*ListGroupsResponse) Descriptor ¶
func (*ListGroupsResponse) Descriptor() ([]byte, []int)
func (*ListGroupsResponse) GetGroups ¶
func (m *ListGroupsResponse) GetGroups() []*Group
func (*ListGroupsResponse) Marshal ¶
func (m *ListGroupsResponse) Marshal() (dAtA []byte, err error)
func (*ListGroupsResponse) MarshalTo ¶
func (m *ListGroupsResponse) MarshalTo(dAtA []byte) (int, error)
func (*ListGroupsResponse) ProtoMessage ¶
func (*ListGroupsResponse) ProtoMessage()
func (*ListGroupsResponse) Reset ¶
func (m *ListGroupsResponse) Reset()
func (*ListGroupsResponse) Size ¶
func (m *ListGroupsResponse) Size() (n int)
func (*ListGroupsResponse) String ¶
func (m *ListGroupsResponse) String() string
func (*ListGroupsResponse) Unmarshal ¶
func (m *ListGroupsResponse) Unmarshal(dAtA []byte) error
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 Location ¶
type Location struct { Lat int64 `protobuf:"varint,1,opt,name=lat,proto3" json:"lat,omitempty"` Lng int64 `protobuf:"varint,2,opt,name=lng,proto3" json:"lng,omitempty"` }
func (*Location) Descriptor ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) XXX_DiscardUnknown ¶
func (m *Location) XXX_DiscardUnknown()
func (*Location) XXX_Marshal ¶
func (*Location) XXX_Unmarshal ¶
type LoginRequest ¶
type LoginRequest struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` }
POST /v1/login
func (*LoginRequest) Descriptor ¶
func (*LoginRequest) Descriptor() ([]byte, []int)
func (*LoginRequest) GetPassword ¶
func (m *LoginRequest) GetPassword() string
func (*LoginRequest) GetUsername ¶
func (m *LoginRequest) GetUsername() string
func (*LoginRequest) Marshal ¶
func (m *LoginRequest) Marshal() (dAtA []byte, err error)
func (*LoginRequest) ProtoMessage ¶
func (*LoginRequest) ProtoMessage()
func (*LoginRequest) Reset ¶
func (m *LoginRequest) Reset()
func (*LoginRequest) Size ¶
func (m *LoginRequest) Size() (n int)
func (*LoginRequest) String ¶
func (m *LoginRequest) String() string
func (*LoginRequest) Unmarshal ¶
func (m *LoginRequest) Unmarshal(dAtA []byte) error
func (*LoginRequest) XXX_DiscardUnknown ¶
func (m *LoginRequest) XXX_DiscardUnknown()
func (*LoginRequest) XXX_Marshal ¶
func (m *LoginRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginRequest) XXX_Merge ¶
func (m *LoginRequest) XXX_Merge(src proto.Message)
func (*LoginRequest) XXX_Size ¶
func (m *LoginRequest) XXX_Size() int
func (*LoginRequest) XXX_Unmarshal ¶
func (m *LoginRequest) XXX_Unmarshal(b []byte) error
type LoginResponse ¶
type LoginResponse struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
}
func (*LoginResponse) Descriptor ¶
func (*LoginResponse) Descriptor() ([]byte, []int)
func (*LoginResponse) GetToken ¶
func (m *LoginResponse) GetToken() string
func (*LoginResponse) Marshal ¶
func (m *LoginResponse) Marshal() (dAtA []byte, err error)
func (*LoginResponse) ProtoMessage ¶
func (*LoginResponse) ProtoMessage()
func (*LoginResponse) Reset ¶
func (m *LoginResponse) Reset()
func (*LoginResponse) Size ¶
func (m *LoginResponse) Size() (n int)
func (*LoginResponse) String ¶
func (m *LoginResponse) String() string
func (*LoginResponse) Unmarshal ¶
func (m *LoginResponse) Unmarshal(dAtA []byte) error
func (*LoginResponse) XXX_DiscardUnknown ¶
func (m *LoginResponse) XXX_DiscardUnknown()
func (*LoginResponse) XXX_Marshal ¶
func (m *LoginResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoginResponse) XXX_Merge ¶
func (m *LoginResponse) XXX_Merge(src proto.Message)
func (*LoginResponse) XXX_Size ¶
func (m *LoginResponse) XXX_Size() int
func (*LoginResponse) XXX_Unmarshal ¶
func (m *LoginResponse) XXX_Unmarshal(b []byte) error
type Message ¶
type Message struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` Reply string `protobuf:"bytes,3,opt,name=reply,proto3" json:"reply,omitempty"` Sequence uint64 `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"` Timestamp int64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Data []byte `protobuf:"bytes,8,opt,name=data,proto3" json:"data,omitempty"` }
Used for internal message system Message represent the message used for communication between the server and the devices.
func (*Message) Descriptor ¶
func (*Message) GetSequence ¶
func (*Message) GetSubject ¶
func (*Message) GetTimestamp ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_Unmarshal ¶
type Playlist ¶
type Playlist struct {
Items []*Item `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
}
func (*Playlist) Descriptor ¶
func (*Playlist) ProtoMessage ¶
func (*Playlist) ProtoMessage()
func (*Playlist) XXX_DiscardUnknown ¶
func (m *Playlist) XXX_DiscardUnknown()
func (*Playlist) XXX_Marshal ¶
func (*Playlist) XXX_Unmarshal ¶
type Status ¶
type Status struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` PlayingNow string `protobuf:"bytes,2,opt,name=playingNow,proto3" json:"playingNow,omitempty"` Playlist *Playlist `protobuf:"bytes,3,opt,name=playlist,proto3" json:"playlist,omitempty"` Files []string `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"` Test bool `protobuf:"varint,5,opt,name=test,proto3" json:"test,omitempty"` }
func (*Status) Descriptor ¶
func (*Status) GetPlayingNow ¶
func (*Status) GetPlaylist ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) XXX_DiscardUnknown ¶
func (m *Status) XXX_DiscardUnknown()
func (*Status) XXX_Marshal ¶
func (*Status) XXX_Unmarshal ¶
type Status2 ¶
type Status2 struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Playing string `protobuf:"bytes,2,opt,name=playing,proto3" json:"playing,omitempty"` Playlist *Item `protobuf:"bytes,3,opt,name=playlist,proto3" json:"playlist,omitempty"` Files []string `protobuf:"bytes,4,rep,name=files,proto3" json:"files,omitempty"` LastSync int64 `protobuf:"varint,5,opt,name=lastSync,proto3" json:"lastSync,omitempty"` }
func (*Status2) Descriptor ¶
func (*Status2) GetLastSync ¶
func (*Status2) GetPlaying ¶
func (*Status2) GetPlaylist ¶
func (*Status2) ProtoMessage ¶
func (*Status2) ProtoMessage()
func (*Status2) XXX_DiscardUnknown ¶
func (m *Status2) XXX_DiscardUnknown()
func (*Status2) XXX_Marshal ¶
func (*Status2) XXX_Unmarshal ¶
type Sync ¶
type Sync struct { }
func (*Sync) Descriptor ¶
func (*Sync) ProtoMessage ¶
func (*Sync) ProtoMessage()
func (*Sync) XXX_DiscardUnknown ¶
func (m *Sync) XXX_DiscardUnknown()
func (*Sync) XXX_Unmarshal ¶
type Test ¶
type Test struct {
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
}
func (*Test) Descriptor ¶
func (*Test) GetEnabled ¶
func (*Test) ProtoMessage ¶
func (*Test) ProtoMessage()
func (*Test) XXX_DiscardUnknown ¶
func (m *Test) XXX_DiscardUnknown()
func (*Test) XXX_Unmarshal ¶
type UnimplementedDeviceServiceServer ¶
type UnimplementedDeviceServiceServer struct { }
UnimplementedDeviceServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedDeviceServiceServer) ActionSync ¶
func (*UnimplementedDeviceServiceServer) ActionSync(ctx context.Context, req *ActionSyncRequest) (*types.Empty, error)
func (*UnimplementedDeviceServiceServer) ActionSyncAll ¶
func (*UnimplementedDeviceServiceServer) ActionSyncByGroup ¶
func (*UnimplementedDeviceServiceServer) ActionSyncByGroup(ctx context.Context, req *ActionSyncByGroupRequest) (*types.Empty, error)
func (*UnimplementedDeviceServiceServer) ActionTest ¶
func (*UnimplementedDeviceServiceServer) ActionTest(ctx context.Context, req *ActionTestRequest) (*types.Empty, error)
func (*UnimplementedDeviceServiceServer) ActionTestAll ¶
func (*UnimplementedDeviceServiceServer) ActionTestByGroup ¶
func (*UnimplementedDeviceServiceServer) ActionTestByGroup(ctx context.Context, req *ActionTestByGroupRequest) (*types.Empty, error)
func (*UnimplementedDeviceServiceServer) CreateDevice ¶
func (*UnimplementedDeviceServiceServer) CreateDevice(ctx context.Context, req *CreateDeviceRequest) (*CreateDeviceResponse, error)
func (*UnimplementedDeviceServiceServer) DeleteDevice ¶
func (*UnimplementedDeviceServiceServer) DeleteDevice(ctx context.Context, req *DeleteDeviceRequest) (*DeleteDeviceResponse, error)
func (*UnimplementedDeviceServiceServer) GetDevice ¶
func (*UnimplementedDeviceServiceServer) GetDevice(ctx context.Context, req *GetDeviceRequest) (*GetDeviceResponse, error)
func (*UnimplementedDeviceServiceServer) GetPlaylist ¶
func (*UnimplementedDeviceServiceServer) GetPlaylist(ctx context.Context, req *GetPlaylistRequest) (*GetPlaylistResponse, error)
func (*UnimplementedDeviceServiceServer) GetPlaylistByGroup ¶
func (*UnimplementedDeviceServiceServer) GetPlaylistByGroup(ctx context.Context, req *GetPlaylistByGroupRequest) (*GetPlaylistByGroupResponse, error)
func (*UnimplementedDeviceServiceServer) ListDevices ¶
func (*UnimplementedDeviceServiceServer) ListDevices(ctx context.Context, req *types.Empty) (*ListDevicesResponse, error)
func (*UnimplementedDeviceServiceServer) ListDevicesByGroup ¶
func (*UnimplementedDeviceServiceServer) ListDevicesByGroup(ctx context.Context, req *ListDevicesByGroupRequest) (*ListDevicesByGroupResponse, error)
func (*UnimplementedDeviceServiceServer) ListGroups ¶
func (*UnimplementedDeviceServiceServer) ListGroups(ctx context.Context, req *types.Empty) (*ListGroupsResponse, error)
func (*UnimplementedDeviceServiceServer) Login ¶
func (*UnimplementedDeviceServiceServer) Login(ctx context.Context, req *LoginRequest) (*LoginResponse, error)
func (*UnimplementedDeviceServiceServer) UpdateDevice ¶
func (*UnimplementedDeviceServiceServer) UpdateDevice(ctx context.Context, req *UpdateDeviceRequest) (*UpdateDeviceResponse, error)
func (*UnimplementedDeviceServiceServer) UpdateDevicesByGroup ¶
func (*UnimplementedDeviceServiceServer) UpdateDevicesByGroup(ctx context.Context, req *UpdateDevicesByGroupRequest) (*UpdateDevicesByGroupResponse, error)
func (*UnimplementedDeviceServiceServer) UpdatePlaylist ¶
func (*UnimplementedDeviceServiceServer) UpdatePlaylist(ctx context.Context, req *UpdatePlaylistRequest) (*UpdatePlaylistResponse, error)
func (*UnimplementedDeviceServiceServer) UpdatePlaylistByGroup ¶
func (*UnimplementedDeviceServiceServer) UpdatePlaylistByGroup(ctx context.Context, req *UpdatePlaylistByGroupRequest) (*UpdatePlaylistByGroupResponse, error)
type UpdateDeviceRequest ¶
type UpdateDeviceRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Device *Device `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` }
PUT /v1/devices/{id}
func (*UpdateDeviceRequest) Descriptor ¶
func (*UpdateDeviceRequest) Descriptor() ([]byte, []int)
func (*UpdateDeviceRequest) GetDevice ¶
func (m *UpdateDeviceRequest) GetDevice() *Device
func (*UpdateDeviceRequest) GetId ¶
func (m *UpdateDeviceRequest) GetId() string
func (*UpdateDeviceRequest) Marshal ¶
func (m *UpdateDeviceRequest) Marshal() (dAtA []byte, err error)
func (*UpdateDeviceRequest) MarshalTo ¶
func (m *UpdateDeviceRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateDeviceRequest) ProtoMessage ¶
func (*UpdateDeviceRequest) ProtoMessage()
func (*UpdateDeviceRequest) Reset ¶
func (m *UpdateDeviceRequest) Reset()
func (*UpdateDeviceRequest) Size ¶
func (m *UpdateDeviceRequest) Size() (n int)
func (*UpdateDeviceRequest) String ¶
func (m *UpdateDeviceRequest) String() string
func (*UpdateDeviceRequest) Unmarshal ¶
func (m *UpdateDeviceRequest) Unmarshal(dAtA []byte) error
func (*UpdateDeviceRequest) XXX_DiscardUnknown ¶
func (m *UpdateDeviceRequest) XXX_DiscardUnknown()
func (*UpdateDeviceRequest) XXX_Marshal ¶
func (m *UpdateDeviceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateDeviceRequest) XXX_Merge ¶
func (m *UpdateDeviceRequest) XXX_Merge(src proto.Message)
func (*UpdateDeviceRequest) XXX_Size ¶
func (m *UpdateDeviceRequest) XXX_Size() int
func (*UpdateDeviceRequest) XXX_Unmarshal ¶
func (m *UpdateDeviceRequest) XXX_Unmarshal(b []byte) error
type UpdateDeviceResponse ¶
type UpdateDeviceResponse struct {
Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
}
func (*UpdateDeviceResponse) Descriptor ¶
func (*UpdateDeviceResponse) Descriptor() ([]byte, []int)
func (*UpdateDeviceResponse) GetDevice ¶
func (m *UpdateDeviceResponse) GetDevice() *Device
func (*UpdateDeviceResponse) Marshal ¶
func (m *UpdateDeviceResponse) Marshal() (dAtA []byte, err error)
func (*UpdateDeviceResponse) MarshalTo ¶
func (m *UpdateDeviceResponse) MarshalTo(dAtA []byte) (int, error)
func (*UpdateDeviceResponse) ProtoMessage ¶
func (*UpdateDeviceResponse) ProtoMessage()
func (*UpdateDeviceResponse) Reset ¶
func (m *UpdateDeviceResponse) Reset()
func (*UpdateDeviceResponse) Size ¶
func (m *UpdateDeviceResponse) Size() (n int)
func (*UpdateDeviceResponse) String ¶
func (m *UpdateDeviceResponse) String() string
func (*UpdateDeviceResponse) Unmarshal ¶
func (m *UpdateDeviceResponse) Unmarshal(dAtA []byte) error
func (*UpdateDeviceResponse) XXX_DiscardUnknown ¶
func (m *UpdateDeviceResponse) XXX_DiscardUnknown()
func (*UpdateDeviceResponse) XXX_Marshal ¶
func (m *UpdateDeviceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateDeviceResponse) XXX_Merge ¶
func (m *UpdateDeviceResponse) XXX_Merge(src proto.Message)
func (*UpdateDeviceResponse) XXX_Size ¶
func (m *UpdateDeviceResponse) XXX_Size() int
func (*UpdateDeviceResponse) XXX_Unmarshal ¶
func (m *UpdateDeviceResponse) XXX_Unmarshal(b []byte) error
type UpdateDevicesByGroupRequest ¶
type UpdateDevicesByGroupRequest struct {
GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}
PUT /v1/devices/groups/{group_id}
func (*UpdateDevicesByGroupRequest) Descriptor ¶
func (*UpdateDevicesByGroupRequest) Descriptor() ([]byte, []int)
func (*UpdateDevicesByGroupRequest) GetGroupId ¶
func (m *UpdateDevicesByGroupRequest) GetGroupId() string
func (*UpdateDevicesByGroupRequest) Marshal ¶
func (m *UpdateDevicesByGroupRequest) Marshal() (dAtA []byte, err error)
func (*UpdateDevicesByGroupRequest) MarshalTo ¶
func (m *UpdateDevicesByGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdateDevicesByGroupRequest) ProtoMessage ¶
func (*UpdateDevicesByGroupRequest) ProtoMessage()
func (*UpdateDevicesByGroupRequest) Reset ¶
func (m *UpdateDevicesByGroupRequest) Reset()
func (*UpdateDevicesByGroupRequest) Size ¶
func (m *UpdateDevicesByGroupRequest) Size() (n int)
func (*UpdateDevicesByGroupRequest) String ¶
func (m *UpdateDevicesByGroupRequest) String() string
func (*UpdateDevicesByGroupRequest) Unmarshal ¶
func (m *UpdateDevicesByGroupRequest) Unmarshal(dAtA []byte) error
func (*UpdateDevicesByGroupRequest) XXX_DiscardUnknown ¶
func (m *UpdateDevicesByGroupRequest) XXX_DiscardUnknown()
func (*UpdateDevicesByGroupRequest) XXX_Marshal ¶
func (m *UpdateDevicesByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateDevicesByGroupRequest) XXX_Merge ¶
func (m *UpdateDevicesByGroupRequest) XXX_Merge(src proto.Message)
func (*UpdateDevicesByGroupRequest) XXX_Size ¶
func (m *UpdateDevicesByGroupRequest) XXX_Size() int
func (*UpdateDevicesByGroupRequest) XXX_Unmarshal ¶
func (m *UpdateDevicesByGroupRequest) XXX_Unmarshal(b []byte) error
type UpdateDevicesByGroupResponse ¶
type UpdateDevicesByGroupResponse struct {
Devices []*Device `protobuf:"bytes,1,rep,name=devices,proto3" json:"devices,omitempty"`
}
func (*UpdateDevicesByGroupResponse) Descriptor ¶
func (*UpdateDevicesByGroupResponse) Descriptor() ([]byte, []int)
func (*UpdateDevicesByGroupResponse) GetDevices ¶
func (m *UpdateDevicesByGroupResponse) GetDevices() []*Device
func (*UpdateDevicesByGroupResponse) Marshal ¶
func (m *UpdateDevicesByGroupResponse) Marshal() (dAtA []byte, err error)
func (*UpdateDevicesByGroupResponse) MarshalTo ¶
func (m *UpdateDevicesByGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*UpdateDevicesByGroupResponse) ProtoMessage ¶
func (*UpdateDevicesByGroupResponse) ProtoMessage()
func (*UpdateDevicesByGroupResponse) Reset ¶
func (m *UpdateDevicesByGroupResponse) Reset()
func (*UpdateDevicesByGroupResponse) Size ¶
func (m *UpdateDevicesByGroupResponse) Size() (n int)
func (*UpdateDevicesByGroupResponse) String ¶
func (m *UpdateDevicesByGroupResponse) String() string
func (*UpdateDevicesByGroupResponse) Unmarshal ¶
func (m *UpdateDevicesByGroupResponse) Unmarshal(dAtA []byte) error
func (*UpdateDevicesByGroupResponse) XXX_DiscardUnknown ¶
func (m *UpdateDevicesByGroupResponse) XXX_DiscardUnknown()
func (*UpdateDevicesByGroupResponse) XXX_Marshal ¶
func (m *UpdateDevicesByGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateDevicesByGroupResponse) XXX_Merge ¶
func (m *UpdateDevicesByGroupResponse) XXX_Merge(src proto.Message)
func (*UpdateDevicesByGroupResponse) XXX_Size ¶
func (m *UpdateDevicesByGroupResponse) XXX_Size() int
func (*UpdateDevicesByGroupResponse) XXX_Unmarshal ¶
func (m *UpdateDevicesByGroupResponse) XXX_Unmarshal(b []byte) error
type UpdatePlaylistByGroupRequest ¶
type UpdatePlaylistByGroupRequest struct { GroupId string `protobuf:"bytes,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` Playlist *Playlist `protobuf:"bytes,2,opt,name=playlist,proto3" json:"playlist,omitempty"` }
PUT /v1/devices/groups/{group_id}/playlist
func (*UpdatePlaylistByGroupRequest) Descriptor ¶
func (*UpdatePlaylistByGroupRequest) Descriptor() ([]byte, []int)
func (*UpdatePlaylistByGroupRequest) GetGroupId ¶
func (m *UpdatePlaylistByGroupRequest) GetGroupId() string
func (*UpdatePlaylistByGroupRequest) GetPlaylist ¶
func (m *UpdatePlaylistByGroupRequest) GetPlaylist() *Playlist
func (*UpdatePlaylistByGroupRequest) Marshal ¶
func (m *UpdatePlaylistByGroupRequest) Marshal() (dAtA []byte, err error)
func (*UpdatePlaylistByGroupRequest) MarshalTo ¶
func (m *UpdatePlaylistByGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdatePlaylistByGroupRequest) ProtoMessage ¶
func (*UpdatePlaylistByGroupRequest) ProtoMessage()
func (*UpdatePlaylistByGroupRequest) Reset ¶
func (m *UpdatePlaylistByGroupRequest) Reset()
func (*UpdatePlaylistByGroupRequest) Size ¶
func (m *UpdatePlaylistByGroupRequest) Size() (n int)
func (*UpdatePlaylistByGroupRequest) String ¶
func (m *UpdatePlaylistByGroupRequest) String() string
func (*UpdatePlaylistByGroupRequest) Unmarshal ¶
func (m *UpdatePlaylistByGroupRequest) Unmarshal(dAtA []byte) error
func (*UpdatePlaylistByGroupRequest) XXX_DiscardUnknown ¶
func (m *UpdatePlaylistByGroupRequest) XXX_DiscardUnknown()
func (*UpdatePlaylistByGroupRequest) XXX_Marshal ¶
func (m *UpdatePlaylistByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdatePlaylistByGroupRequest) XXX_Merge ¶
func (m *UpdatePlaylistByGroupRequest) XXX_Merge(src proto.Message)
func (*UpdatePlaylistByGroupRequest) XXX_Size ¶
func (m *UpdatePlaylistByGroupRequest) XXX_Size() int
func (*UpdatePlaylistByGroupRequest) XXX_Unmarshal ¶
func (m *UpdatePlaylistByGroupRequest) XXX_Unmarshal(b []byte) error
type UpdatePlaylistByGroupResponse ¶
type UpdatePlaylistByGroupResponse struct {
Playlist *Playlist `protobuf:"bytes,1,opt,name=playlist,proto3" json:"playlist,omitempty"`
}
func (*UpdatePlaylistByGroupResponse) Descriptor ¶
func (*UpdatePlaylistByGroupResponse) Descriptor() ([]byte, []int)
func (*UpdatePlaylistByGroupResponse) GetPlaylist ¶
func (m *UpdatePlaylistByGroupResponse) GetPlaylist() *Playlist
func (*UpdatePlaylistByGroupResponse) Marshal ¶
func (m *UpdatePlaylistByGroupResponse) Marshal() (dAtA []byte, err error)
func (*UpdatePlaylistByGroupResponse) MarshalTo ¶
func (m *UpdatePlaylistByGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*UpdatePlaylistByGroupResponse) ProtoMessage ¶
func (*UpdatePlaylistByGroupResponse) ProtoMessage()
func (*UpdatePlaylistByGroupResponse) Reset ¶
func (m *UpdatePlaylistByGroupResponse) Reset()
func (*UpdatePlaylistByGroupResponse) Size ¶
func (m *UpdatePlaylistByGroupResponse) Size() (n int)
func (*UpdatePlaylistByGroupResponse) String ¶
func (m *UpdatePlaylistByGroupResponse) String() string
func (*UpdatePlaylistByGroupResponse) Unmarshal ¶
func (m *UpdatePlaylistByGroupResponse) Unmarshal(dAtA []byte) error
func (*UpdatePlaylistByGroupResponse) XXX_DiscardUnknown ¶
func (m *UpdatePlaylistByGroupResponse) XXX_DiscardUnknown()
func (*UpdatePlaylistByGroupResponse) XXX_Marshal ¶
func (m *UpdatePlaylistByGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdatePlaylistByGroupResponse) XXX_Merge ¶
func (m *UpdatePlaylistByGroupResponse) XXX_Merge(src proto.Message)
func (*UpdatePlaylistByGroupResponse) XXX_Size ¶
func (m *UpdatePlaylistByGroupResponse) XXX_Size() int
func (*UpdatePlaylistByGroupResponse) XXX_Unmarshal ¶
func (m *UpdatePlaylistByGroupResponse) XXX_Unmarshal(b []byte) error
type UpdatePlaylistRequest ¶
type UpdatePlaylistRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Playlist *Playlist `protobuf:"bytes,2,opt,name=playlist,proto3" json:"playlist,omitempty"` }
PUT /v1/devices/{id}/playlist
func (*UpdatePlaylistRequest) Descriptor ¶
func (*UpdatePlaylistRequest) Descriptor() ([]byte, []int)
func (*UpdatePlaylistRequest) GetId ¶
func (m *UpdatePlaylistRequest) GetId() string
func (*UpdatePlaylistRequest) GetPlaylist ¶
func (m *UpdatePlaylistRequest) GetPlaylist() *Playlist
func (*UpdatePlaylistRequest) Marshal ¶
func (m *UpdatePlaylistRequest) Marshal() (dAtA []byte, err error)
func (*UpdatePlaylistRequest) MarshalTo ¶
func (m *UpdatePlaylistRequest) MarshalTo(dAtA []byte) (int, error)
func (*UpdatePlaylistRequest) ProtoMessage ¶
func (*UpdatePlaylistRequest) ProtoMessage()
func (*UpdatePlaylistRequest) Reset ¶
func (m *UpdatePlaylistRequest) Reset()
func (*UpdatePlaylistRequest) Size ¶
func (m *UpdatePlaylistRequest) Size() (n int)
func (*UpdatePlaylistRequest) String ¶
func (m *UpdatePlaylistRequest) String() string
func (*UpdatePlaylistRequest) Unmarshal ¶
func (m *UpdatePlaylistRequest) Unmarshal(dAtA []byte) error
func (*UpdatePlaylistRequest) XXX_DiscardUnknown ¶
func (m *UpdatePlaylistRequest) XXX_DiscardUnknown()
func (*UpdatePlaylistRequest) XXX_Marshal ¶
func (m *UpdatePlaylistRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdatePlaylistRequest) XXX_Merge ¶
func (m *UpdatePlaylistRequest) XXX_Merge(src proto.Message)
func (*UpdatePlaylistRequest) XXX_Size ¶
func (m *UpdatePlaylistRequest) XXX_Size() int
func (*UpdatePlaylistRequest) XXX_Unmarshal ¶
func (m *UpdatePlaylistRequest) XXX_Unmarshal(b []byte) error
type UpdatePlaylistResponse ¶
type UpdatePlaylistResponse struct {
Playlist *Playlist `protobuf:"bytes,1,opt,name=playlist,proto3" json:"playlist,omitempty"`
}
func (*UpdatePlaylistResponse) Descriptor ¶
func (*UpdatePlaylistResponse) Descriptor() ([]byte, []int)
func (*UpdatePlaylistResponse) GetPlaylist ¶
func (m *UpdatePlaylistResponse) GetPlaylist() *Playlist
func (*UpdatePlaylistResponse) Marshal ¶
func (m *UpdatePlaylistResponse) Marshal() (dAtA []byte, err error)
func (*UpdatePlaylistResponse) MarshalTo ¶
func (m *UpdatePlaylistResponse) MarshalTo(dAtA []byte) (int, error)
func (*UpdatePlaylistResponse) ProtoMessage ¶
func (*UpdatePlaylistResponse) ProtoMessage()
func (*UpdatePlaylistResponse) Reset ¶
func (m *UpdatePlaylistResponse) Reset()
func (*UpdatePlaylistResponse) Size ¶
func (m *UpdatePlaylistResponse) Size() (n int)
func (*UpdatePlaylistResponse) String ¶
func (m *UpdatePlaylistResponse) String() string
func (*UpdatePlaylistResponse) Unmarshal ¶
func (m *UpdatePlaylistResponse) Unmarshal(dAtA []byte) error
func (*UpdatePlaylistResponse) XXX_DiscardUnknown ¶
func (m *UpdatePlaylistResponse) XXX_DiscardUnknown()
func (*UpdatePlaylistResponse) XXX_Marshal ¶
func (m *UpdatePlaylistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdatePlaylistResponse) XXX_Merge ¶
func (m *UpdatePlaylistResponse) XXX_Merge(src proto.Message)
func (*UpdatePlaylistResponse) XXX_Size ¶
func (m *UpdatePlaylistResponse) XXX_Size() int
func (*UpdatePlaylistResponse) XXX_Unmarshal ¶
func (m *UpdatePlaylistResponse) XXX_Unmarshal(b []byte) error
type User ¶
type User struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` }
func (*User) Descriptor ¶
func (*User) GetPassword ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) XXX_DiscardUnknown ¶
func (m *User) XXX_DiscardUnknown()