Versions in this module Expand all Collapse all v0 v0.0.4 Jun 28, 2021 v0.0.3 Jun 28, 2021 v0.0.2 Jun 20, 2021 v0.0.1 Jun 12, 2021 Changes in this version + func EncodeArtist(artist Artist) ([]byte, error) + func EncodeArtistInfo(artists ArtistInfo) ([]byte, error) + func EncodeInfoRetrieval(info InfoRetrieval) ([]byte, error) + func EncodeJob(job Job) ([]byte, error) + type Artist struct + Country string + Genre string + ID string + Name string + Records []Record + URL string + func DecodeArtist(encoded []byte) (Artist, error) + type ArtistInfo struct + Data Artist + ExtraData []Artist + func DecodeArtistInfo(encoded []byte) (ArtistInfo, error) + type InfoRetrieval struct + Album string + Artist string + Data []byte + Type InfoRetrievalType + func DecodeInfoRetrieval(encoded []byte) (InfoRetrieval, error) + type InfoRetrievalType int + const AlbumData + const AlbumName + const AlbumWithArtistData + const ArtistData + const ArtistName + type Job struct + Data []byte + Error string + Finished bool + ID uuid.UUID + LastOrigin string + RequiredOrigin string + Result []byte + Status bool + Type JobType + func DecodeJob(encoded []byte) (Job, error) + type JobType int + const ArtistInfoRetrieval + const Die + const JobInfoRetrieval + const RecordInfoRetrieval + type Record struct + ID string + Name string + Tracks []Track + Type RecordType + URL string + Year int + type RecordType int + const BoxedSet + const Compilation + const Demo + const EP + const FullLength + const Live + const Other + const Single + const Split + const Video + type Track struct + Hours int + Minutes int + Name string + Seconds int