Documentation ¶ Index ¶ func New(params []string, token *oauth2.Token) (protocol.Instance, error) type File func (f *File) GetSong(id codec.ID) (codec.Song, error) func (f *File) Info(id codec.ID) (*codec.SongInfo, error) func (f *File) Key() string func (f *File) List() (protocol.SongList, error) func (f *File) Refresh() (protocol.SongList, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(params []string, token *oauth2.Token) (protocol.Instance, error) Types ¶ type File ¶ type File struct { Path string Songs protocol.SongList } func (*File) GetSong ¶ func (f *File) GetSong(id codec.ID) (codec.Song, error) func (*File) Info ¶ func (f *File) Info(id codec.ID) (*codec.SongInfo, error) func (*File) Key ¶ func (f *File) Key() string func (*File) List ¶ func (f *File) List() (protocol.SongList, error) func (*File) Refresh ¶ func (f *File) Refresh() (protocol.SongList, error) Source Files ¶ View all Source files file.go Click to show internal directories. Click to hide internal directories.