Documentation
¶
Index ¶
- Variables
- func DefaultCheck() (check checkCookie)
- func DownPic(c *Client, pic string, picUrl string, path string) error
- func ExistedOrDownPic(c *Client, mblog *Mblog, path string) error
- type Client
- func (c *Client) AddFriend(uid string) (err error)
- func (c *Client) CheckCookie() (isActivate bool, err error)
- func (c *Client) DownPics(mblog *Mblog, path string) error
- func (c *Client) FetchMblogLongText(mblog *Mblog) error
- func (c *Client) GetMblogLongText(mblogid string) (longtext string, err error)
- func (c *Client) GetMblogs(userid string, page int, longtext bool) ([]*Mblog, error)
- type Database
- type LongtextBody
- type Mblog
- type MymblogBody
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var BadRequest = errors.New("BadRequest")
Functions ¶
func DefaultCheck ¶ added in v1.1.2
func DefaultCheck() (check checkCookie)
Types ¶
type Client ¶
func (*Client) CheckCookie ¶ added in v1.1.2
func (*Client) FetchMblogLongText ¶
func (*Client) GetMblogLongText ¶
type LongtextBody ¶
type Mblog ¶
type Mblog struct {
User *User `json:"user"`
CreatedAt string `json:"created_at"`
ID int64 `json:"id"`
MblogID string `json:"mblogid"`
TextRaw string `json:"text_raw"`
Text string `json:"text"`
IsLongText bool `json:"isLongText"`
PicNum int8 `json:"pic_num"`
PicIds []string `json:"pic_ids"`
PicInfos map[string]interface{} `json:"pic_infos"`
MixMediaInfo map[string]interface{} `json:"mix_media_info"`
Retweeted *Mblog `json:"retweeted_status,omitempty"`
LongTextRaw string
}
type MymblogBody ¶
Click to show internal directories.
Click to hide internal directories.