Documentation ¶
Index ¶
Constants ¶
View Source
const UserAgent = "" /* 129-byte string literal not displayed */
Variables ¶
View Source
var ErrInvalidURL = errors.New("webhook/file: invalid URL")
Functions ¶
This section is empty.
Types ¶
type DefaultClient ¶
type DefaultClient struct{}
func (DefaultClient) Hosts ¶
func (DefaultClient) Hosts() []string
type Downloader ¶
type Downloader struct { Root string // contains filtered or unexported fields }
func NewDownloader ¶
func NewDownloader(root string, client ...Client) *Downloader
func (*Downloader) Register ¶
func (d *Downloader) Register(client ...Client)
type WeiboClient ¶
type WeiboClient struct{}
func (WeiboClient) Hosts ¶
func (WeiboClient) Hosts() []string
Click to show internal directories.
Click to hide internal directories.