Documentation
¶
Index ¶
- func NewService() contracts.ServiceProvider
- type Client
- func (c *Client) BaiduHots() ([]Hot, error)
- func (c *Client) BiliHots() ([]Hot, error)
- func (c *Client) DouyinHots() ([]Hot, error)
- func (c *Client) ToutiaoHotNews() ([]Hot, error)
- func (c *Client) ToutiaoHots() ([]Hot, error)
- func (c *Client) WeiboHots() ([]Hot, error)
- func (c *Client) ZhihuHots() ([]Hot, error)
- type Config
- type Hot
- type HotResponse
- type Service
- type TenAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService() contracts.ServiceProvider
Types ¶
type Client ¶
type Client struct {
BaseUrl string
}
func (*Client) DouyinHots ¶
func (*Client) ToutiaoHotNews ¶
func (*Client) ToutiaoHots ¶
type HotResponse ¶
Click to show internal directories.
Click to hide internal directories.