Documentation ¶
Index ¶
- Variables
- type Artist
- type Auth
- type Playback
- func (*Playback) Descriptor() ([]byte, []int)deprecated
- func (x *Playback) GetContextType() string
- func (x *Playback) GetContextUri() string
- func (x *Playback) GetTrackId() string
- func (x *Playback) GetTrackUri() string
- func (*Playback) ProtoMessage()
- func (x *Playback) ProtoReflect() protoreflect.Message
- func (x *Playback) Reset()
- func (x *Playback) String() string
- type Store
- func (*Store) Descriptor() ([]byte, []int)deprecated
- func (x *Store) GetAuth() *Auth
- func (x *Store) GetPlaybacks() map[string]*Playback
- func (x *Store) GetToken() []bytedeprecated
- func (x *Store) GetTracks() map[string]*Track
- func (*Store) ProtoMessage()
- func (x *Store) ProtoReflect() protoreflect.Message
- func (x *Store) Reset()
- func (x *Store) String() string
- type Track
- func (*Track) Descriptor() ([]byte, []int)deprecated
- func (x *Track) GetArtists() []*Artist
- func (x *Track) GetDuration() *durationpb.Duration
- func (x *Track) GetId() string
- func (x *Track) GetName() string
- func (x *Track) GetType() string
- func (x *Track) GetUri() string
- func (*Track) ProtoMessage()
- func (x *Track) ProtoReflect() protoreflect.Message
- func (x *Track) Reset()
- func (x *Track) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_cmd_earbug_earbugv4_store_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Artist ¶
type Artist struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Artist) Descriptor
deprecated
func (*Artist) ProtoMessage ¶
func (*Artist) ProtoMessage()
func (*Artist) ProtoReflect ¶
func (x *Artist) ProtoReflect() protoreflect.Message
type Auth ¶
type Auth struct { Token []byte `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` // contains filtered or unexported fields }
func (*Auth) Descriptor
deprecated
func (*Auth) GetClientId ¶
func (*Auth) GetClientSecret ¶
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
type Playback ¶
type Playback struct { TrackId string `protobuf:"bytes,1,opt,name=track_id,json=trackId,proto3" json:"track_id,omitempty"` TrackUri string `protobuf:"bytes,2,opt,name=track_uri,json=trackUri,proto3" json:"track_uri,omitempty"` ContextType string `protobuf:"bytes,3,opt,name=context_type,json=contextType,proto3" json:"context_type,omitempty"` ContextUri string `protobuf:"bytes,4,opt,name=context_uri,json=contextUri,proto3" json:"context_uri,omitempty"` // contains filtered or unexported fields }
func (*Playback) Descriptor
deprecated
func (*Playback) GetContextType ¶
func (*Playback) GetContextUri ¶
func (*Playback) GetTrackId ¶
func (*Playback) GetTrackUri ¶
func (*Playback) ProtoMessage ¶
func (*Playback) ProtoMessage()
func (*Playback) ProtoReflect ¶
func (x *Playback) ProtoReflect() protoreflect.Message
type Store ¶
type Store struct { // Deprecated: Marked as deprecated in cmd/earbug/earbugv4/store.proto. Token []byte `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // rfc3339 timestamp : playback Playbacks map[string]*Playback `` /* 159-byte string literal not displayed */ // track id : track Tracks map[string]*Track `` /* 153-byte string literal not displayed */ // cached auth credentials Auth *Auth `protobuf:"bytes,7,opt,name=auth,proto3" json:"auth,omitempty"` // contains filtered or unexported fields }
func (*Store) Descriptor
deprecated
func (*Store) GetPlaybacks ¶
func (*Store) ProtoMessage ¶
func (*Store) ProtoMessage()
func (*Store) ProtoReflect ¶
func (x *Store) ProtoReflect() protoreflect.Message
type Track ¶
type Track struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Duration *durationpb.Duration `protobuf:"bytes,5,opt,name=duration,proto3" json:"duration,omitempty"` Artists []*Artist `protobuf:"bytes,6,rep,name=artists,proto3" json:"artists,omitempty"` // contains filtered or unexported fields }
func (*Track) Descriptor
deprecated
func (*Track) GetArtists ¶
func (*Track) GetDuration ¶
func (x *Track) GetDuration() *durationpb.Duration
func (*Track) ProtoMessage ¶
func (*Track) ProtoMessage()
func (*Track) ProtoReflect ¶
func (x *Track) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.