Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Media ¶
type Media struct { // ID is the media ID. ID uuid.UUID `json:"id"` // Format is the media format. Format Format `json:"format"` // Path is the media path. Path string `json:"path"` // Meta is the media metadata, may be nil. Meta meta.Metadata `json:"meta"` }
Media is a piece of media.
func (*Media) UnmarshalJSON ¶
UnmarshalJSON reads data from a JSON representation.
Click to show internal directories.
Click to hide internal directories.