Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArchiveItem ¶
type ArchiveItem struct { ArchiveKey string `json:"key"` Description *ArchiveItemDescription `json:"desc,omitempty"` Meta *ArchiveItemMeta `json:"meta,omitempty"` Chan *ArchiveItemChan `json:"chan,omitempty"` }
func (*ArchiveItem) IsExists ¶
func (l *ArchiveItem) IsExists() bool
func (*ArchiveItem) SaveFile ¶
func (l *ArchiveItem) SaveFile() error
type ArchiveItemChan ¶
type ArchiveItemChan struct {
MessageId int `json:"msg_id,omitempty"`
}
type ArchiveItemDescription ¶
type ArchiveItemMeta ¶
type Episode ¶
type Episode interface { Artists() []string CanDownload() bool Date() Date // Download(loader Loader, tasks Tasks, pl PrintLine) error EpId() string EpIdx() string // base62 EpTitle() string PlaylistURL() *string // ShowId() string // ShowTitle() string IsVideo() bool Show() Show PPrint() PPrintRow }
type File ¶
type File struct {
// contains filtered or unexported fields
}
func (*File) BodyString ¶
func (*File) SetBodyString ¶
type Loader ¶
type Loader interface { Text(url string, opts *LoaderOpts) (*string, error) JSON(url string, dest interface{}, opts *LoaderOpts) error Raw(url string, opts *LoaderOpts) ([]byte, error) }
type LoaderOpts ¶
var LoaderOptsDefault *LoaderOpts = &LoaderOpts{ Headers: map[string]string{}, Timeouts: []int{5, 10, 20}, }
type PPrintRow ¶
type ShowAccess ¶
type WorkdirBase ¶
Click to show internal directories.
Click to hide internal directories.