relation

package
v0.0.0-...-e4442d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FollowersResponse

type FollowersResponse struct {
	List []struct {
		Mid            int         `json:"mid"`
		Attribute      int         `json:"attribute"`
		Mtime          int         `json:"mtime"`
		Tag            interface{} `json:"tag"`
		Special        int         `json:"special"`
		Uname          string      `json:"uname"`
		Face           string      `json:"face"`
		Sign           string      `json:"sign"`
		OfficialVerify struct {
			Type int    `json:"type"`
			Desc string `json:"desc"`
		} `json:"official_verify"`
		Vip struct {
			VipType       int    `json:"vipType"`
			VipDueDate    int64  `json:"vipDueDate"`
			DueRemark     string `json:"dueRemark"`
			AccessStatus  int    `json:"accessStatus"`
			VipStatus     int    `json:"vipStatus"`
			VipStatusWarn string `json:"vipStatusWarn"`
			ThemeType     int    `json:"themeType"`
			Label         struct {
				Path string `json:"path"`
			} `json:"label"`
		} `json:"vip"`
	} `json:"list"`
	ReVersion int64 `json:"re_version"`
	Total     int   `json:"total"`
}

type Relation

type Relation struct {
	Req *resty.Client
}

func (Relation) Followers

func (r Relation) Followers(uid string, page int, limit int) (*FollowersResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL