bilibili

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: AGPL-3.0 Imports: 40 Imported by: 0

README

致谢

本部分内容曾经或目前仍然参考了以下开源库的部分或全部,在此对它们表示感谢:

Documentation

Index

Constants

View Source
const (
	Site         = "bilibili"
	BaseHost     = "https://api.bilibili.com"
	BaseLiveHost = "https://api.live.bilibili.com"
	BaseVCHost   = "https://api.vc.bilibili.com"
	VideoView    = "https://www.bilibili.com/video"
	DynamicView  = "https://t.bilibili.com"
	PassportHost = "https://passport.bilibili.com"

	CompactExpireTime = time.Minute * 60
)
View Source
const (
	Live concern_type.Type = "live"
	News concern_type.Type = "news"
)
View Source
const (
	Zhuanlan      = "专栏"
	Zhuanfa       = "转发"
	Tougao        = "投稿"
	Wenzi         = "文字"
	Tupian        = "图片"
	Zhibofenxiang = "直播分享"
)
View Source
const (
	Appkey                       = "1d8b6e7d45233436"
	Salt                         = "560c52ccd288fed045859ed18bffd973"
	PathPassportLoginWebKey      = "/x/passport-login/web/key"
	PathPassportLoginOAuth2Login = "/x/passport-login/oauth2/login"
)
View Source
const (
	ActSub            = 1
	ActUnsub          = 2
	ActHiddenSub      = 3
	ActUnhiddenSub    = 4
	ActBlock          = 5
	ActUnblock        = 6
	ActRemoveFollower = 7
)
View Source
const (
	PathDynamicSrvDynamicHistory = "/dynamic_svr/v1/dynamic_svr/dynamic_history"
)
View Source
const (
	PathDynamicSrvDynamicNew = "/dynamic_svr/v1/dynamic_svr/dynamic_new"
)
View Source
const (
	PathDynamicSrvSpaceHistory = "/dynamic_svr/v1/dynamic_svr/space_history"
)
View Source
const (
	PathGetAttentionList = "/feed/v1/feed/get_attention_list"
)
View Source
const (
	PathRelationFeedList = "/xlive/web-ucenter/v1/xfetter/FeedList"
)
View Source
const (
	PathRelationModify = "/x/relation/modify"
)
View Source
const (
	PathXRelationStat = "/x/relation/stat"
)
View Source
const (
	PathXSpaceAccInfo = "/x/space/wbi/acc/info"
)
View Source
const PathXWebInterfaceNav = "/x/web-interface/nav"

Variables

View Source
var (
	LiveStatus_name = map[int32]string{
		0: "NoLiving",
		1: "Living",
	}
	LiveStatus_value = map[string]int32{
		"NoLiving": 0,
		"Living":   1,
	}
)

Enum value maps for LiveStatus.

View Source
var (
	RoundStatus_name = map[int32]string{
		0: "Off",
		1: "On",
	}
	RoundStatus_value = map[string]int32{
		"Off": 0,
		"On":  1,
	}
)

Enum value maps for RoundStatus.

View Source
var (
	RoomStatus_name = map[int32]string{
		0: "NonExist",
		1: "Exist",
	}
	RoomStatus_value = map[string]int32{
		"NonExist": 0,
		"Exist":    1,
	}
)

Enum value maps for RoomStatus.

View Source
var (
	SpecialType_name = map[int32]string{
		0: "Normal",
		1: "Pay",
		2: "YearFestival",
	}
	SpecialType_value = map[string]int32{
		"Normal":       0,
		"Pay":          1,
		"YearFestival": 2,
	}
)

Enum value maps for SpecialType.

View Source
var (
	DynamicDescType_name = map[int32]string{
		0:    "DynamicDescTypeUnknown",
		1:    "WithOrigin",
		2:    "WithImage",
		4:    "TextOnly",
		8:    "WithVideo",
		64:   "WithPost",
		256:  "WithMusic",
		512:  "WithAnime",
		1024: "WithMiss",
		2048: "WithSketch",
		4098: "WithMovie",
		4099: "WithDrama",
		4101: "WithDocumentary",
		4200: "WithLive",
		4300: "WithMylist",
		4302: "WithCourse",
		4308: "WithLiveV2",
	}
	DynamicDescType_value = map[string]int32{
		"DynamicDescTypeUnknown": 0,
		"WithOrigin":             1,
		"WithImage":              2,
		"TextOnly":               4,
		"WithVideo":              8,
		"WithPost":               64,
		"WithMusic":              256,
		"WithAnime":              512,
		"WithMiss":               1024,
		"WithSketch":             2048,
		"WithMovie":              4098,
		"WithDrama":              4099,
		"WithDocumentary":        4101,
		"WithLive":               4200,
		"WithMylist":             4300,
		"WithCourse":             4302,
		"WithLiveV2":             4308,
	}
)

Enum value maps for DynamicDescType.

View Source
var (
	AddOnCardShowType_name = map[int32]string{
		0: "AddOnCardShowTypeUnknown",
		1: "goods",
		2: "related",
		3: "vote",
		4: "match",
		5: "video",
		6: "reserve",
	}
	AddOnCardShowType_value = map[string]int32{
		"AddOnCardShowTypeUnknown": 0,
		"goods":                    1,
		"related":                  2,
		"vote":                     3,
		"match":                    4,
		"video":                    5,
		"reserve":                  6,
	}
)

Enum value maps for AddOnCardShowType.

View Source
var BasePath = map[string]string{
	PathXSpaceAccInfo:            BaseHost,
	PathDynamicSrvSpaceHistory:   BaseVCHost,
	PathDynamicSrvDynamicNew:     BaseVCHost,
	PathRelationModify:           BaseHost,
	PathRelationFeedList:         BaseLiveHost,
	PathGetAttentionList:         BaseVCHost,
	PathPassportLoginWebKey:      PassportHost,
	PathPassportLoginOAuth2Login: PassportHost,
	PathXRelationStat:            BaseHost,
	PathXWebInterfaceNav:         BaseHost,
	PathDynamicSrvDynamicHistory: BaseVCHost,
}
View Source
var ErrCardTypeMismatch = errors.New("card type mismatch")
View Source
var (
	ErrVerifyRequired = errors.New("账号信息缺失")
)
View Source
var File_lsp_bilibili_bilibili_proto protoreflect.FileDescriptor

Functions

func AddReferOption added in v0.0.17

func AddReferOption(refer ...string) requests.Option

func AddUAOption

func AddUAOption() requests.Option

func BPath

func BPath(path string) string

func BVIDUrl

func BVIDUrl(bvid string) string

func CheckTypeDefine added in v0.0.15

func CheckTypeDefine(types []string) (invalid []string)

func ClearCookieInfo added in v1.0.0

func ClearCookieInfo(username string) error

func DynamicUrl

func DynamicUrl(dynamicIdStr string) string

func FreshSelfInfo added in v1.0.0

func FreshSelfInfo()

func GetVerifyBiliJct added in v0.1.1

func GetVerifyBiliJct() string

func GetVerifyOption added in v0.1.1

func GetVerifyOption() []requests.Option

func Init added in v0.1.1

func Init()

func IsAccountGiven added in v0.0.17

func IsAccountGiven() bool

func IsCookieGiven added in v0.0.17

func IsCookieGiven() bool

func IsVerifyGiven

func IsVerifyGiven() bool

func NewExtraKey

func NewExtraKey() *extraKey

func NewKeySet

func NewKeySet() *keySet

func ParseUid added in v0.0.10

func ParseUid(s string) (int64, error)

func SetAccount added in v0.0.17

func SetAccount(_username string, _password string)

func SetCookieInfo added in v0.0.17

func SetCookieInfo(username string, cookieInfo *LoginResponse_Data_CookieInfo) error

func SetVerify

func SetVerify(_SESSDATA string, _biliJct string)

func Sign added in v0.0.17

func Sign(params string) string

Types

type AddOnCardShowType

type AddOnCardShowType int32
const (
	AddOnCardShowType_AddOnCardShowTypeUnknown AddOnCardShowType = 0
	// 商品
	AddOnCardShowType_goods AddOnCardShowType = 1
	// 相关游戏/作品/装扮
	AddOnCardShowType_related AddOnCardShowType = 2
	AddOnCardShowType_vote    AddOnCardShowType = 3
	// 比赛
	AddOnCardShowType_match AddOnCardShowType = 4
	// 视频
	AddOnCardShowType_video AddOnCardShowType = 5
	// 直播预约
	AddOnCardShowType_reserve AddOnCardShowType = 6
)

func (AddOnCardShowType) Descriptor added in v1.1.1

func (AddOnCardShowType) Enum added in v1.1.1

func (AddOnCardShowType) EnumDescriptor deprecated

func (AddOnCardShowType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AddOnCardShowType.Descriptor instead.

func (AddOnCardShowType) Number added in v1.1.1

func (AddOnCardShowType) String

func (x AddOnCardShowType) String() string

func (AddOnCardShowType) Type added in v1.1.1

type CacheCard added in v1.0.1

type CacheCard struct {
	*Card
	// contains filtered or unexported fields
}

func NewCacheCard added in v1.0.1

func NewCacheCard(card *Card) *CacheCard

func (*CacheCard) GetMSG added in v1.0.1

func (c *CacheCard) GetMSG() *mmsg.MSG

type Card

type Card struct {
	Card    string        `protobuf:"bytes,1,opt,name=card,proto3" json:"card,omitempty"`
	Desc    *Card_Desc    `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
	Extra   *Card_Extra   `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"`
	Display *Card_Display `protobuf:"bytes,6,opt,name=display,proto3" json:"display,omitempty"`
	// contains filtered or unexported fields
}

func (*Card) Descriptor deprecated

func (*Card) Descriptor() ([]byte, []int)

Deprecated: Use Card.ProtoReflect.Descriptor instead.

func (*Card) GetCard

func (x *Card) GetCard() string

func (*Card) GetCardTextOnly added in v0.0.20

func (m *Card) GetCardTextOnly() (*CardTextOnly, error)

func (*Card) GetCardWithCourse added in v0.1.3

func (m *Card) GetCardWithCourse() (*CardWithCourse, error)

func (*Card) GetCardWithImage added in v0.0.20

func (m *Card) GetCardWithImage() (*CardWithImage, error)

func (*Card) GetCardWithLive added in v0.0.20

func (m *Card) GetCardWithLive() (*CardWithLive, error)

func (*Card) GetCardWithLiveV2 added in v0.0.20

func (m *Card) GetCardWithLiveV2() (*CardWithLiveV2, error)

func (*Card) GetCardWithMusic added in v0.0.20

func (m *Card) GetCardWithMusic() (*CardWithMusic, error)

func (*Card) GetCardWithOrig added in v0.0.20

func (m *Card) GetCardWithOrig() (*CardWithOrig, error)

func (*Card) GetCardWithPost added in v0.0.20

func (m *Card) GetCardWithPost() (*CardWithPost, error)

func (*Card) GetCardWithSketch added in v0.0.20

func (m *Card) GetCardWithSketch() (*CardWithSketch, error)

func (*Card) GetCardWithVideo added in v0.0.20

func (m *Card) GetCardWithVideo() (*CardWithVideo, error)

func (*Card) GetDesc

func (x *Card) GetDesc() *Card_Desc

func (*Card) GetDisplay

func (x *Card) GetDisplay() *Card_Display

func (*Card) GetExtra

func (x *Card) GetExtra() *Card_Extra

func (*Card) ProtoMessage

func (*Card) ProtoMessage()

func (*Card) ProtoReflect added in v1.1.1

func (x *Card) ProtoReflect() protoreflect.Message

func (*Card) Reset

func (x *Card) Reset()

func (*Card) String

func (x *Card) String() string

type CardTextOnly

type CardTextOnly struct {
	Item *CardTextOnly_Item `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*CardTextOnly) Descriptor deprecated

func (*CardTextOnly) Descriptor() ([]byte, []int)

Deprecated: Use CardTextOnly.ProtoReflect.Descriptor instead.

func (*CardTextOnly) GetItem

func (x *CardTextOnly) GetItem() *CardTextOnly_Item

func (*CardTextOnly) ProtoMessage

func (*CardTextOnly) ProtoMessage()

func (*CardTextOnly) ProtoReflect added in v1.1.1

func (x *CardTextOnly) ProtoReflect() protoreflect.Message

func (*CardTextOnly) Reset

func (x *CardTextOnly) Reset()

func (*CardTextOnly) String

func (x *CardTextOnly) String() string

type CardTextOnly_Item

type CardTextOnly_Item struct {
	RpId      int64  `protobuf:"varint,1,opt,name=rp_id,json=rpId,proto3" json:"rp_id,omitempty"`
	Uid       int64  `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"`
	Content   string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"`
	Ctrl      string `protobuf:"bytes,4,opt,name=ctrl,proto3" json:"ctrl,omitempty"`
	Timestamp int64  `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Reply     int32  `protobuf:"varint,8,opt,name=reply,proto3" json:"reply,omitempty"`
	// contains filtered or unexported fields
}

func (*CardTextOnly_Item) Descriptor deprecated

func (*CardTextOnly_Item) Descriptor() ([]byte, []int)

Deprecated: Use CardTextOnly_Item.ProtoReflect.Descriptor instead.

func (*CardTextOnly_Item) GetContent

func (x *CardTextOnly_Item) GetContent() string

func (*CardTextOnly_Item) GetCtrl

func (x *CardTextOnly_Item) GetCtrl() string

func (*CardTextOnly_Item) GetReply

func (x *CardTextOnly_Item) GetReply() int32

func (*CardTextOnly_Item) GetRpId

func (x *CardTextOnly_Item) GetRpId() int64

func (*CardTextOnly_Item) GetTimestamp

func (x *CardTextOnly_Item) GetTimestamp() int64

func (*CardTextOnly_Item) GetUid

func (x *CardTextOnly_Item) GetUid() int64

func (*CardTextOnly_Item) ProtoMessage

func (*CardTextOnly_Item) ProtoMessage()

func (*CardTextOnly_Item) ProtoReflect added in v1.1.1

func (x *CardTextOnly_Item) ProtoReflect() protoreflect.Message

func (*CardTextOnly_Item) Reset

func (x *CardTextOnly_Item) Reset()

func (*CardTextOnly_Item) String

func (x *CardTextOnly_Item) String() string

type CardWithCourse added in v0.1.3

type CardWithCourse struct {
	Badge       *CardWithCourse_Badge  `protobuf:"bytes,1,opt,name=badge,proto3" json:"badge,omitempty"`
	Cover       string                 `protobuf:"bytes,2,opt,name=cover,proto3" json:"cover,omitempty"`
	EpCount     int32                  `protobuf:"varint,3,opt,name=ep_count,json=epCount,proto3" json:"ep_count,omitempty"`
	Subtitle    string                 `protobuf:"bytes,4,opt,name=subtitle,proto3" json:"subtitle,omitempty"`
	Title       string                 `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	UpInfo      *CardWithCourse_UpInfo `protobuf:"bytes,6,opt,name=up_info,json=upInfo,proto3" json:"up_info,omitempty"`
	UpdateCount int32                  `protobuf:"varint,7,opt,name=update_count,json=updateCount,proto3" json:"update_count,omitempty"`
	UpdateInfo  string                 `protobuf:"bytes,8,opt,name=update_info,json=updateInfo,proto3" json:"update_info,omitempty"`
	Url         string                 `protobuf:"bytes,9,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithCourse) Descriptor deprecated added in v0.1.3

func (*CardWithCourse) Descriptor() ([]byte, []int)

Deprecated: Use CardWithCourse.ProtoReflect.Descriptor instead.

func (*CardWithCourse) GetBadge added in v0.1.3

func (x *CardWithCourse) GetBadge() *CardWithCourse_Badge

func (*CardWithCourse) GetCover added in v0.1.3

func (x *CardWithCourse) GetCover() string

func (*CardWithCourse) GetEpCount added in v0.1.3

func (x *CardWithCourse) GetEpCount() int32

func (*CardWithCourse) GetSubtitle added in v0.1.3

func (x *CardWithCourse) GetSubtitle() string

func (*CardWithCourse) GetTitle added in v0.1.3

func (x *CardWithCourse) GetTitle() string

func (*CardWithCourse) GetUpInfo added in v0.1.3

func (x *CardWithCourse) GetUpInfo() *CardWithCourse_UpInfo

func (*CardWithCourse) GetUpdateCount added in v0.1.3

func (x *CardWithCourse) GetUpdateCount() int32

func (*CardWithCourse) GetUpdateInfo added in v0.1.3

func (x *CardWithCourse) GetUpdateInfo() string

func (*CardWithCourse) GetUrl added in v0.1.3

func (x *CardWithCourse) GetUrl() string

func (*CardWithCourse) ProtoMessage added in v0.1.3

func (*CardWithCourse) ProtoMessage()

func (*CardWithCourse) ProtoReflect added in v1.1.1

func (x *CardWithCourse) ProtoReflect() protoreflect.Message

func (*CardWithCourse) Reset added in v0.1.3

func (x *CardWithCourse) Reset()

func (*CardWithCourse) String added in v0.1.3

func (x *CardWithCourse) String() string

type CardWithCourse_Badge added in v0.1.3

type CardWithCourse_Badge struct {
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithCourse_Badge) Descriptor deprecated added in v0.1.3

func (*CardWithCourse_Badge) Descriptor() ([]byte, []int)

Deprecated: Use CardWithCourse_Badge.ProtoReflect.Descriptor instead.

func (*CardWithCourse_Badge) GetText added in v0.1.3

func (x *CardWithCourse_Badge) GetText() string

func (*CardWithCourse_Badge) ProtoMessage added in v0.1.3

func (*CardWithCourse_Badge) ProtoMessage()

func (*CardWithCourse_Badge) ProtoReflect added in v1.1.1

func (x *CardWithCourse_Badge) ProtoReflect() protoreflect.Message

func (*CardWithCourse_Badge) Reset added in v0.1.3

func (x *CardWithCourse_Badge) Reset()

func (*CardWithCourse_Badge) String added in v0.1.3

func (x *CardWithCourse_Badge) String() string

type CardWithCourse_UpInfo added in v0.1.3

type CardWithCourse_UpInfo struct {
	Avatar string `protobuf:"bytes,1,opt,name=avatar,proto3" json:"avatar,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithCourse_UpInfo) Descriptor deprecated added in v0.1.3

func (*CardWithCourse_UpInfo) Descriptor() ([]byte, []int)

Deprecated: Use CardWithCourse_UpInfo.ProtoReflect.Descriptor instead.

func (*CardWithCourse_UpInfo) GetAvatar added in v0.1.3

func (x *CardWithCourse_UpInfo) GetAvatar() string

func (*CardWithCourse_UpInfo) GetName added in v0.1.3

func (x *CardWithCourse_UpInfo) GetName() string

func (*CardWithCourse_UpInfo) ProtoMessage added in v0.1.3

func (*CardWithCourse_UpInfo) ProtoMessage()

func (*CardWithCourse_UpInfo) ProtoReflect added in v1.1.1

func (x *CardWithCourse_UpInfo) ProtoReflect() protoreflect.Message

func (*CardWithCourse_UpInfo) Reset added in v0.1.3

func (x *CardWithCourse_UpInfo) Reset()

func (*CardWithCourse_UpInfo) String added in v0.1.3

func (x *CardWithCourse_UpInfo) String() string

type CardWithImage

type CardWithImage struct {
	Item *CardWithImage_Item `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithImage) Descriptor deprecated

func (*CardWithImage) Descriptor() ([]byte, []int)

Deprecated: Use CardWithImage.ProtoReflect.Descriptor instead.

func (*CardWithImage) GetItem

func (x *CardWithImage) GetItem() *CardWithImage_Item

func (*CardWithImage) ProtoMessage

func (*CardWithImage) ProtoMessage()

func (*CardWithImage) ProtoReflect added in v1.1.1

func (x *CardWithImage) ProtoReflect() protoreflect.Message

func (*CardWithImage) Reset

func (x *CardWithImage) Reset()

func (*CardWithImage) String

func (x *CardWithImage) String() string

type CardWithImage_Item

type CardWithImage_Item struct {
	Id            int64                         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Title         string                        `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Description   string                        `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Category      string                        `protobuf:"bytes,4,opt,name=category,proto3" json:"category,omitempty"`
	Pictures      []*CardWithImage_Item_Picture `protobuf:"bytes,5,rep,name=pictures,proto3" json:"pictures,omitempty"`
	PicturesCount int32                         `protobuf:"varint,6,opt,name=pictures_count,json=picturesCount,proto3" json:"pictures_count,omitempty"`
	UploadTime    int64                         `protobuf:"varint,7,opt,name=upload_time,json=uploadTime,proto3" json:"upload_time,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithImage_Item) Descriptor deprecated

func (*CardWithImage_Item) Descriptor() ([]byte, []int)

Deprecated: Use CardWithImage_Item.ProtoReflect.Descriptor instead.

func (*CardWithImage_Item) GetCategory

func (x *CardWithImage_Item) GetCategory() string

func (*CardWithImage_Item) GetDescription

func (x *CardWithImage_Item) GetDescription() string

func (*CardWithImage_Item) GetId

func (x *CardWithImage_Item) GetId() int64

func (*CardWithImage_Item) GetPictures

func (x *CardWithImage_Item) GetPictures() []*CardWithImage_Item_Picture

func (*CardWithImage_Item) GetPicturesCount

func (x *CardWithImage_Item) GetPicturesCount() int32

func (*CardWithImage_Item) GetTitle

func (x *CardWithImage_Item) GetTitle() string

func (*CardWithImage_Item) GetUploadTime

func (x *CardWithImage_Item) GetUploadTime() int64

func (*CardWithImage_Item) ProtoMessage

func (*CardWithImage_Item) ProtoMessage()

func (*CardWithImage_Item) ProtoReflect added in v1.1.1

func (x *CardWithImage_Item) ProtoReflect() protoreflect.Message

func (*CardWithImage_Item) Reset

func (x *CardWithImage_Item) Reset()

func (*CardWithImage_Item) String

func (x *CardWithImage_Item) String() string

type CardWithImage_Item_Picture

type CardWithImage_Item_Picture struct {
	ImgSrc    string  `protobuf:"bytes,1,opt,name=img_src,json=imgSrc,proto3" json:"img_src,omitempty"`
	ImgWidth  int32   `protobuf:"varint,2,opt,name=img_width,json=imgWidth,proto3" json:"img_width,omitempty"`
	ImgHeight int32   `protobuf:"varint,3,opt,name=img_height,json=imgHeight,proto3" json:"img_height,omitempty"`
	ImgSize   float32 `protobuf:"fixed32,4,opt,name=img_size,json=imgSize,proto3" json:"img_size,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithImage_Item_Picture) Descriptor deprecated

func (*CardWithImage_Item_Picture) Descriptor() ([]byte, []int)

Deprecated: Use CardWithImage_Item_Picture.ProtoReflect.Descriptor instead.

func (*CardWithImage_Item_Picture) GetImgHeight

func (x *CardWithImage_Item_Picture) GetImgHeight() int32

func (*CardWithImage_Item_Picture) GetImgSize

func (x *CardWithImage_Item_Picture) GetImgSize() float32

func (*CardWithImage_Item_Picture) GetImgSrc

func (x *CardWithImage_Item_Picture) GetImgSrc() string

func (*CardWithImage_Item_Picture) GetImgWidth

func (x *CardWithImage_Item_Picture) GetImgWidth() int32

func (*CardWithImage_Item_Picture) ProtoMessage

func (*CardWithImage_Item_Picture) ProtoMessage()

func (*CardWithImage_Item_Picture) ProtoReflect added in v1.1.1

func (*CardWithImage_Item_Picture) Reset

func (x *CardWithImage_Item_Picture) Reset()

func (*CardWithImage_Item_Picture) String

func (x *CardWithImage_Item_Picture) String() string

type CardWithLive

type CardWithLive struct {
	Roomid      int64       `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid,omitempty"`
	Uid         int64       `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty"`
	Uname       string      `protobuf:"bytes,3,opt,name=uname,proto3" json:"uname,omitempty"`
	Cover       string      `protobuf:"bytes,4,opt,name=cover,proto3" json:"cover,omitempty"`
	Title       string      `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	AreaV2Name  string      `protobuf:"bytes,6,opt,name=area_v2_name,json=areaV2Name,proto3" json:"area_v2_name,omitempty"`
	LiveStatus  LiveStatus  `protobuf:"varint,7,opt,name=live_status,json=liveStatus,proto3,enum=bilibili.LiveStatus" json:"live_status,omitempty"`
	RoundStatus RoundStatus `protobuf:"varint,8,opt,name=round_status,json=roundStatus,proto3,enum=bilibili.RoundStatus" json:"round_status,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithLive) Descriptor deprecated

func (*CardWithLive) Descriptor() ([]byte, []int)

Deprecated: Use CardWithLive.ProtoReflect.Descriptor instead.

func (*CardWithLive) GetAreaV2Name

func (x *CardWithLive) GetAreaV2Name() string

func (*CardWithLive) GetCover

func (x *CardWithLive) GetCover() string

func (*CardWithLive) GetLiveStatus

func (x *CardWithLive) GetLiveStatus() LiveStatus

func (*CardWithLive) GetRoomid

func (x *CardWithLive) GetRoomid() int64

func (*CardWithLive) GetRoundStatus

func (x *CardWithLive) GetRoundStatus() RoundStatus

func (*CardWithLive) GetTitle

func (x *CardWithLive) GetTitle() string

func (*CardWithLive) GetUid

func (x *CardWithLive) GetUid() int64

func (*CardWithLive) GetUname

func (x *CardWithLive) GetUname() string

func (*CardWithLive) ProtoMessage

func (*CardWithLive) ProtoMessage()

func (*CardWithLive) ProtoReflect added in v1.1.1

func (x *CardWithLive) ProtoReflect() protoreflect.Message

func (*CardWithLive) Reset

func (x *CardWithLive) Reset()

func (*CardWithLive) String

func (x *CardWithLive) String() string

type CardWithLiveV2

type CardWithLiveV2 struct {
	LivePlayInfo *CardWithLiveV2_LivePlayInfo `protobuf:"bytes,1,opt,name=live_play_info,json=livePlayInfo,proto3" json:"live_play_info,omitempty"`
	Style        int64                        `protobuf:"varint,2,opt,name=style,proto3" json:"style,omitempty"`
	Type         int64                        `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

可能是新版直播间 (x) 发现是系统推荐的直播间,应该忽略吧?

func (*CardWithLiveV2) Descriptor deprecated

func (*CardWithLiveV2) Descriptor() ([]byte, []int)

Deprecated: Use CardWithLiveV2.ProtoReflect.Descriptor instead.

func (*CardWithLiveV2) GetLivePlayInfo

func (x *CardWithLiveV2) GetLivePlayInfo() *CardWithLiveV2_LivePlayInfo

func (*CardWithLiveV2) GetStyle

func (x *CardWithLiveV2) GetStyle() int64

func (*CardWithLiveV2) GetType

func (x *CardWithLiveV2) GetType() int64

func (*CardWithLiveV2) ProtoMessage

func (*CardWithLiveV2) ProtoMessage()

func (*CardWithLiveV2) ProtoReflect added in v1.1.1

func (x *CardWithLiveV2) ProtoReflect() protoreflect.Message

func (*CardWithLiveV2) Reset

func (x *CardWithLiveV2) Reset()

func (*CardWithLiveV2) String

func (x *CardWithLiveV2) String() string

type CardWithLiveV2_LivePlayInfo

type CardWithLiveV2_LivePlayInfo struct {
	Cover          string     `protobuf:"bytes,1,opt,name=cover,proto3" json:"cover,omitempty"`
	Title          string     `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	RoomId         int64      `protobuf:"varint,3,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"`
	LiveStatus     LiveStatus `protobuf:"varint,4,opt,name=live_status,json=liveStatus,proto3,enum=bilibili.LiveStatus" json:"live_status,omitempty"`
	Link           string     `protobuf:"bytes,5,opt,name=link,proto3" json:"link,omitempty"`
	Uid            int64      `protobuf:"varint,6,opt,name=uid,proto3" json:"uid,omitempty"`
	LiveId         int64      `protobuf:"varint,7,opt,name=live_id,json=liveId,proto3" json:"live_id,omitempty"`
	AreaId         int64      `protobuf:"varint,8,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"`
	AreaName       string     `protobuf:"bytes,9,opt,name=area_name,json=areaName,proto3" json:"area_name,omitempty"`
	ParentAreaId   int64      `protobuf:"varint,10,opt,name=parent_area_id,json=parentAreaId,proto3" json:"parent_area_id,omitempty"`
	ParentAreaName string     `protobuf:"bytes,11,opt,name=parent_area_name,json=parentAreaName,proto3" json:"parent_area_name,omitempty"`
	RoomType       int64      `protobuf:"varint,12,opt,name=room_type,json=roomType,proto3" json:"room_type,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithLiveV2_LivePlayInfo) Descriptor deprecated

func (*CardWithLiveV2_LivePlayInfo) Descriptor() ([]byte, []int)

Deprecated: Use CardWithLiveV2_LivePlayInfo.ProtoReflect.Descriptor instead.

func (*CardWithLiveV2_LivePlayInfo) GetAreaId

func (x *CardWithLiveV2_LivePlayInfo) GetAreaId() int64

func (*CardWithLiveV2_LivePlayInfo) GetAreaName

func (x *CardWithLiveV2_LivePlayInfo) GetAreaName() string

func (*CardWithLiveV2_LivePlayInfo) GetCover

func (x *CardWithLiveV2_LivePlayInfo) GetCover() string
func (x *CardWithLiveV2_LivePlayInfo) GetLink() string

func (*CardWithLiveV2_LivePlayInfo) GetLiveId

func (x *CardWithLiveV2_LivePlayInfo) GetLiveId() int64

func (*CardWithLiveV2_LivePlayInfo) GetLiveStatus

func (x *CardWithLiveV2_LivePlayInfo) GetLiveStatus() LiveStatus

func (*CardWithLiveV2_LivePlayInfo) GetParentAreaId

func (x *CardWithLiveV2_LivePlayInfo) GetParentAreaId() int64

func (*CardWithLiveV2_LivePlayInfo) GetParentAreaName

func (x *CardWithLiveV2_LivePlayInfo) GetParentAreaName() string

func (*CardWithLiveV2_LivePlayInfo) GetRoomId

func (x *CardWithLiveV2_LivePlayInfo) GetRoomId() int64

func (*CardWithLiveV2_LivePlayInfo) GetRoomType

func (x *CardWithLiveV2_LivePlayInfo) GetRoomType() int64

func (*CardWithLiveV2_LivePlayInfo) GetTitle

func (x *CardWithLiveV2_LivePlayInfo) GetTitle() string

func (*CardWithLiveV2_LivePlayInfo) GetUid

func (x *CardWithLiveV2_LivePlayInfo) GetUid() int64

func (*CardWithLiveV2_LivePlayInfo) ProtoMessage

func (*CardWithLiveV2_LivePlayInfo) ProtoMessage()

func (*CardWithLiveV2_LivePlayInfo) ProtoReflect added in v1.1.1

func (*CardWithLiveV2_LivePlayInfo) Reset

func (x *CardWithLiveV2_LivePlayInfo) Reset()

func (*CardWithLiveV2_LivePlayInfo) String

func (x *CardWithLiveV2_LivePlayInfo) String() string

type CardWithMedia added in v0.1.0

type CardWithMedia struct {
	ApiSeasonInfo *CardWithMedia_ApiSeasonInfo `protobuf:"bytes,1,opt,name=apiSeasonInfo,proto3" json:"apiSeasonInfo,omitempty"`
	BulletCount   int64                        `protobuf:"varint,2,opt,name=bullet_count,json=bulletCount,proto3" json:"bullet_count,omitempty"`
	Cover         string                       `protobuf:"bytes,3,opt,name=cover,proto3" json:"cover,omitempty"`
	EpisodeId     int64                        `protobuf:"varint,4,opt,name=episode_id,json=episodeId,proto3" json:"episode_id,omitempty"`
	Index         string                       `protobuf:"bytes,5,opt,name=index,proto3" json:"index,omitempty"`
	IndexTitle    string                       `protobuf:"bytes,6,opt,name=index_title,json=indexTitle,proto3" json:"index_title,omitempty"`
	NewDesc       string                       `protobuf:"bytes,7,opt,name=new_desc,json=newDesc,proto3" json:"new_desc,omitempty"`
	// int64 online_finish = 8;
	PlayCount  int64  `protobuf:"varint,9,opt,name=play_count,json=playCount,proto3" json:"play_count,omitempty"`
	ReplyCount int64  `protobuf:"varint,10,opt,name=reply_count,json=replyCount,proto3" json:"reply_count,omitempty"`
	Url        string `protobuf:"bytes,11,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

包括动漫,纪录片,电影等,总之可以解析试试

func (*CardWithMedia) Descriptor deprecated added in v0.1.0

func (*CardWithMedia) Descriptor() ([]byte, []int)

Deprecated: Use CardWithMedia.ProtoReflect.Descriptor instead.

func (*CardWithMedia) GetApiSeasonInfo added in v0.1.0

func (x *CardWithMedia) GetApiSeasonInfo() *CardWithMedia_ApiSeasonInfo

func (*CardWithMedia) GetBulletCount added in v0.1.0

func (x *CardWithMedia) GetBulletCount() int64

func (*CardWithMedia) GetCover added in v0.1.0

func (x *CardWithMedia) GetCover() string

func (*CardWithMedia) GetEpisodeId added in v0.1.0

func (x *CardWithMedia) GetEpisodeId() int64

func (*CardWithMedia) GetIndex added in v0.1.0

func (x *CardWithMedia) GetIndex() string

func (*CardWithMedia) GetIndexTitle added in v0.1.0

func (x *CardWithMedia) GetIndexTitle() string

func (*CardWithMedia) GetNewDesc added in v0.1.0

func (x *CardWithMedia) GetNewDesc() string

func (*CardWithMedia) GetPlayCount added in v0.1.0

func (x *CardWithMedia) GetPlayCount() int64

func (*CardWithMedia) GetReplyCount added in v0.1.0

func (x *CardWithMedia) GetReplyCount() int64

func (*CardWithMedia) GetUrl added in v0.1.0

func (x *CardWithMedia) GetUrl() string

func (*CardWithMedia) ProtoMessage added in v0.1.0

func (*CardWithMedia) ProtoMessage()

func (*CardWithMedia) ProtoReflect added in v1.1.1

func (x *CardWithMedia) ProtoReflect() protoreflect.Message

func (*CardWithMedia) Reset added in v0.1.0

func (x *CardWithMedia) Reset()

func (*CardWithMedia) String added in v0.1.0

func (x *CardWithMedia) String() string

type CardWithMedia_ApiSeasonInfo added in v0.1.0

type CardWithMedia_ApiSeasonInfo struct {
	BgmType    int64  `protobuf:"varint,1,opt,name=bgm_type,json=bgmType,proto3" json:"bgm_type,omitempty"`
	Cover      string `protobuf:"bytes,2,opt,name=cover,proto3" json:"cover,omitempty"`
	IsFinish   int64  `protobuf:"varint,3,opt,name=is_finish,json=isFinish,proto3" json:"is_finish,omitempty"`
	SeasonId   int64  `protobuf:"varint,4,opt,name=season_id,json=seasonId,proto3" json:"season_id,omitempty"`
	Title      string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	TotalCount int64  `protobuf:"varint,6,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	Ts         int64  `protobuf:"varint,7,opt,name=ts,proto3" json:"ts,omitempty"`
	TypeName   string `protobuf:"bytes,8,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithMedia_ApiSeasonInfo) Descriptor deprecated added in v0.1.0

func (*CardWithMedia_ApiSeasonInfo) Descriptor() ([]byte, []int)

Deprecated: Use CardWithMedia_ApiSeasonInfo.ProtoReflect.Descriptor instead.

func (*CardWithMedia_ApiSeasonInfo) GetBgmType added in v0.1.0

func (x *CardWithMedia_ApiSeasonInfo) GetBgmType() int64

func (*CardWithMedia_ApiSeasonInfo) GetCover added in v0.1.0

func (x *CardWithMedia_ApiSeasonInfo) GetCover() string

func (*CardWithMedia_ApiSeasonInfo) GetIsFinish added in v0.1.0

func (x *CardWithMedia_ApiSeasonInfo) GetIsFinish() int64

func (*CardWithMedia_ApiSeasonInfo) GetSeasonId added in v0.1.0

func (x *CardWithMedia_ApiSeasonInfo) GetSeasonId() int64

func (*CardWithMedia_ApiSeasonInfo) GetTitle added in v0.1.0

func (x *CardWithMedia_ApiSeasonInfo) GetTitle() string

func (*CardWithMedia_ApiSeasonInfo) GetTotalCount added in v0.1.0

func (x *CardWithMedia_ApiSeasonInfo) GetTotalCount() int64

func (*CardWithMedia_ApiSeasonInfo) GetTs added in v0.1.0

func (*CardWithMedia_ApiSeasonInfo) GetTypeName added in v0.1.0

func (x *CardWithMedia_ApiSeasonInfo) GetTypeName() string

func (*CardWithMedia_ApiSeasonInfo) ProtoMessage added in v0.1.0

func (*CardWithMedia_ApiSeasonInfo) ProtoMessage()

func (*CardWithMedia_ApiSeasonInfo) ProtoReflect added in v1.1.1

func (*CardWithMedia_ApiSeasonInfo) Reset added in v0.1.0

func (x *CardWithMedia_ApiSeasonInfo) Reset()

func (*CardWithMedia_ApiSeasonInfo) String added in v0.1.0

func (x *CardWithMedia_ApiSeasonInfo) String() string

type CardWithMusic

type CardWithMusic struct {
	Author      string              `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"`
	Cover       string              `protobuf:"bytes,2,opt,name=cover,proto3" json:"cover,omitempty"`
	Ctime       int64               `protobuf:"varint,3,opt,name=ctime,proto3" json:"ctime,omitempty"`
	Id          int64               `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"`
	Intro       string              `protobuf:"bytes,5,opt,name=intro,proto3" json:"intro,omitempty"`
	Item        *CardWithMusic_Item `protobuf:"bytes,6,opt,name=item,proto3" json:"item,omitempty"`
	PlayCnt     int64               `protobuf:"varint,7,opt,name=playCnt,proto3" json:"playCnt,omitempty"`
	ReplyCnt    int64               `protobuf:"varint,8,opt,name=replyCnt,proto3" json:"replyCnt,omitempty"`
	Schema      string              `protobuf:"bytes,9,opt,name=schema,proto3" json:"schema,omitempty"`
	Title       string              `protobuf:"bytes,10,opt,name=title,proto3" json:"title,omitempty"`
	TypeInfo    string              `protobuf:"bytes,11,opt,name=typeInfo,proto3" json:"typeInfo,omitempty"`
	UpId        int64               `protobuf:"varint,12,opt,name=upId,proto3" json:"upId,omitempty"`
	Upper       string              `protobuf:"bytes,13,opt,name=upper,proto3" json:"upper,omitempty"`
	UpperAvatar string              `protobuf:"bytes,14,opt,name=upperAvatar,proto3" json:"upperAvatar,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithMusic) Descriptor deprecated

func (*CardWithMusic) Descriptor() ([]byte, []int)

Deprecated: Use CardWithMusic.ProtoReflect.Descriptor instead.

func (*CardWithMusic) GetAuthor

func (x *CardWithMusic) GetAuthor() string

func (*CardWithMusic) GetCover

func (x *CardWithMusic) GetCover() string

func (*CardWithMusic) GetCtime

func (x *CardWithMusic) GetCtime() int64

func (*CardWithMusic) GetId

func (x *CardWithMusic) GetId() int64

func (*CardWithMusic) GetIntro

func (x *CardWithMusic) GetIntro() string

func (*CardWithMusic) GetItem

func (x *CardWithMusic) GetItem() *CardWithMusic_Item

func (*CardWithMusic) GetPlayCnt

func (x *CardWithMusic) GetPlayCnt() int64

func (*CardWithMusic) GetReplyCnt

func (x *CardWithMusic) GetReplyCnt() int64

func (*CardWithMusic) GetSchema

func (x *CardWithMusic) GetSchema() string

func (*CardWithMusic) GetTitle

func (x *CardWithMusic) GetTitle() string

func (*CardWithMusic) GetTypeInfo

func (x *CardWithMusic) GetTypeInfo() string

func (*CardWithMusic) GetUpId

func (x *CardWithMusic) GetUpId() int64

func (*CardWithMusic) GetUpper

func (x *CardWithMusic) GetUpper() string

func (*CardWithMusic) GetUpperAvatar

func (x *CardWithMusic) GetUpperAvatar() string

func (*CardWithMusic) ProtoMessage

func (*CardWithMusic) ProtoMessage()

func (*CardWithMusic) ProtoReflect added in v1.1.1

func (x *CardWithMusic) ProtoReflect() protoreflect.Message

func (*CardWithMusic) Reset

func (x *CardWithMusic) Reset()

func (*CardWithMusic) String

func (x *CardWithMusic) String() string

type CardWithMusic_Item

type CardWithMusic_Item struct {
	AtControl string `protobuf:"bytes,1,opt,name=at_control,json=atControl,proto3" json:"at_control,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithMusic_Item) Descriptor deprecated

func (*CardWithMusic_Item) Descriptor() ([]byte, []int)

Deprecated: Use CardWithMusic_Item.ProtoReflect.Descriptor instead.

func (*CardWithMusic_Item) GetAtControl

func (x *CardWithMusic_Item) GetAtControl() string

func (*CardWithMusic_Item) ProtoMessage

func (*CardWithMusic_Item) ProtoMessage()

func (*CardWithMusic_Item) ProtoReflect added in v1.1.1

func (x *CardWithMusic_Item) ProtoReflect() protoreflect.Message

func (*CardWithMusic_Item) Reset

func (x *CardWithMusic_Item) Reset()

func (*CardWithMusic_Item) String

func (x *CardWithMusic_Item) String() string

type CardWithMylist added in v0.1.0

type CardWithMylist struct {
	Cover      string                `protobuf:"bytes,1,opt,name=cover,proto3" json:"cover,omitempty"`
	CoverType  int32                 `protobuf:"varint,2,opt,name=cover_type,json=coverType,proto3" json:"cover_type,omitempty"`
	Fid        int64                 `protobuf:"varint,3,opt,name=fid,proto3" json:"fid,omitempty"`
	Id         int64                 `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"`
	Intro      string                `protobuf:"bytes,5,opt,name=intro,proto3" json:"intro,omitempty"`
	MediaCount int32                 `protobuf:"varint,6,opt,name=media_count,json=mediaCount,proto3" json:"media_count,omitempty"`
	Mid        int64                 `protobuf:"varint,7,opt,name=mid,proto3" json:"mid,omitempty"`
	Sharable   bool                  `protobuf:"varint,8,opt,name=sharable,proto3" json:"sharable,omitempty"`
	Title      string                `protobuf:"bytes,9,opt,name=title,proto3" json:"title,omitempty"`
	Type       int32                 `protobuf:"varint,10,opt,name=type,proto3" json:"type,omitempty"`
	Upper      *CardWithMylist_Upper `protobuf:"bytes,11,opt,name=upper,proto3" json:"upper,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithMylist) Descriptor deprecated added in v0.1.0

func (*CardWithMylist) Descriptor() ([]byte, []int)

Deprecated: Use CardWithMylist.ProtoReflect.Descriptor instead.

func (*CardWithMylist) GetCover added in v0.1.0

func (x *CardWithMylist) GetCover() string

func (*CardWithMylist) GetCoverType added in v0.1.0

func (x *CardWithMylist) GetCoverType() int32

func (*CardWithMylist) GetFid added in v0.1.0

func (x *CardWithMylist) GetFid() int64

func (*CardWithMylist) GetId added in v0.1.0

func (x *CardWithMylist) GetId() int64

func (*CardWithMylist) GetIntro added in v0.1.0

func (x *CardWithMylist) GetIntro() string

func (*CardWithMylist) GetMediaCount added in v0.1.0

func (x *CardWithMylist) GetMediaCount() int32

func (*CardWithMylist) GetMid added in v0.1.0

func (x *CardWithMylist) GetMid() int64

func (*CardWithMylist) GetSharable added in v0.1.0

func (x *CardWithMylist) GetSharable() bool

func (*CardWithMylist) GetTitle added in v0.1.0

func (x *CardWithMylist) GetTitle() string

func (*CardWithMylist) GetType added in v0.1.0

func (x *CardWithMylist) GetType() int32

func (*CardWithMylist) GetUpper added in v0.1.0

func (x *CardWithMylist) GetUpper() *CardWithMylist_Upper

func (*CardWithMylist) ProtoMessage added in v0.1.0

func (*CardWithMylist) ProtoMessage()

func (*CardWithMylist) ProtoReflect added in v1.1.1

func (x *CardWithMylist) ProtoReflect() protoreflect.Message

func (*CardWithMylist) Reset added in v0.1.0

func (x *CardWithMylist) Reset()

func (*CardWithMylist) String added in v0.1.0

func (x *CardWithMylist) String() string

type CardWithMylist_Upper added in v0.1.0

type CardWithMylist_Upper struct {
	Face     string `protobuf:"bytes,1,opt,name=face,proto3" json:"face,omitempty"`
	Followed int32  `protobuf:"varint,2,opt,name=followed,proto3" json:"followed,omitempty"`
	Mid      int64  `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
	Name     string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithMylist_Upper) Descriptor deprecated added in v0.1.0

func (*CardWithMylist_Upper) Descriptor() ([]byte, []int)

Deprecated: Use CardWithMylist_Upper.ProtoReflect.Descriptor instead.

func (*CardWithMylist_Upper) GetFace added in v0.1.0

func (x *CardWithMylist_Upper) GetFace() string

func (*CardWithMylist_Upper) GetFollowed added in v0.1.0

func (x *CardWithMylist_Upper) GetFollowed() int32

func (*CardWithMylist_Upper) GetMid added in v0.1.0

func (x *CardWithMylist_Upper) GetMid() int64

func (*CardWithMylist_Upper) GetName added in v0.1.0

func (x *CardWithMylist_Upper) GetName() string

func (*CardWithMylist_Upper) ProtoMessage added in v0.1.0

func (*CardWithMylist_Upper) ProtoMessage()

func (*CardWithMylist_Upper) ProtoReflect added in v1.1.1

func (x *CardWithMylist_Upper) ProtoReflect() protoreflect.Message

func (*CardWithMylist_Upper) Reset added in v0.1.0

func (x *CardWithMylist_Upper) Reset()

func (*CardWithMylist_Upper) String added in v0.1.0

func (x *CardWithMylist_Upper) String() string

type CardWithOrig

type CardWithOrig struct {
	Item       *CardWithOrig_Item       `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	Origin     string                   `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"`
	OriginUser *CardWithOrig_OriginUser `protobuf:"bytes,3,opt,name=origin_user,json=originUser,proto3" json:"origin_user,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithOrig) Descriptor deprecated

func (*CardWithOrig) Descriptor() ([]byte, []int)

Deprecated: Use CardWithOrig.ProtoReflect.Descriptor instead.

func (*CardWithOrig) GetItem

func (x *CardWithOrig) GetItem() *CardWithOrig_Item

func (*CardWithOrig) GetOrigin

func (x *CardWithOrig) GetOrigin() string

func (*CardWithOrig) GetOriginUser

func (x *CardWithOrig) GetOriginUser() *CardWithOrig_OriginUser

func (*CardWithOrig) ProtoMessage

func (*CardWithOrig) ProtoMessage()

func (*CardWithOrig) ProtoReflect added in v1.1.1

func (x *CardWithOrig) ProtoReflect() protoreflect.Message

func (*CardWithOrig) Reset

func (x *CardWithOrig) Reset()

func (*CardWithOrig) String

func (x *CardWithOrig) String() string

type CardWithOrig_Item

type CardWithOrig_Item struct {
	Content   string          `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	Timestamp int64           `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	OrigType  DynamicDescType `protobuf:"varint,3,opt,name=orig_type,json=origType,proto3,enum=bilibili.DynamicDescType" json:"orig_type,omitempty"`
	Reply     int64           `protobuf:"varint,4,opt,name=reply,proto3" json:"reply,omitempty"`
	Miss      int64           `protobuf:"varint,5,opt,name=miss,proto3" json:"miss,omitempty"`
	Tips      string          `protobuf:"bytes,6,opt,name=tips,proto3" json:"tips,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithOrig_Item) Descriptor deprecated

func (*CardWithOrig_Item) Descriptor() ([]byte, []int)

Deprecated: Use CardWithOrig_Item.ProtoReflect.Descriptor instead.

func (*CardWithOrig_Item) GetContent

func (x *CardWithOrig_Item) GetContent() string

func (*CardWithOrig_Item) GetMiss

func (x *CardWithOrig_Item) GetMiss() int64

func (*CardWithOrig_Item) GetOrigType

func (x *CardWithOrig_Item) GetOrigType() DynamicDescType

func (*CardWithOrig_Item) GetReply

func (x *CardWithOrig_Item) GetReply() int64

func (*CardWithOrig_Item) GetTimestamp

func (x *CardWithOrig_Item) GetTimestamp() int64

func (*CardWithOrig_Item) GetTips

func (x *CardWithOrig_Item) GetTips() string

func (*CardWithOrig_Item) ProtoMessage

func (*CardWithOrig_Item) ProtoMessage()

func (*CardWithOrig_Item) ProtoReflect added in v1.1.1

func (x *CardWithOrig_Item) ProtoReflect() protoreflect.Message

func (*CardWithOrig_Item) Reset

func (x *CardWithOrig_Item) Reset()

func (*CardWithOrig_Item) String

func (x *CardWithOrig_Item) String() string

type CardWithOrig_OriginUser

type CardWithOrig_OriginUser struct {
	Info *CardWithOrig_OriginUser_Info `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithOrig_OriginUser) Descriptor deprecated

func (*CardWithOrig_OriginUser) Descriptor() ([]byte, []int)

Deprecated: Use CardWithOrig_OriginUser.ProtoReflect.Descriptor instead.

func (*CardWithOrig_OriginUser) GetInfo

func (*CardWithOrig_OriginUser) ProtoMessage

func (*CardWithOrig_OriginUser) ProtoMessage()

func (*CardWithOrig_OriginUser) ProtoReflect added in v1.1.1

func (x *CardWithOrig_OriginUser) ProtoReflect() protoreflect.Message

func (*CardWithOrig_OriginUser) Reset

func (x *CardWithOrig_OriginUser) Reset()

func (*CardWithOrig_OriginUser) String

func (x *CardWithOrig_OriginUser) String() string

type CardWithOrig_OriginUser_Info

type CardWithOrig_OriginUser_Info struct {
	Uid   int64  `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Uname string `protobuf:"bytes,2,opt,name=uname,proto3" json:"uname,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithOrig_OriginUser_Info) Descriptor deprecated

func (*CardWithOrig_OriginUser_Info) Descriptor() ([]byte, []int)

Deprecated: Use CardWithOrig_OriginUser_Info.ProtoReflect.Descriptor instead.

func (*CardWithOrig_OriginUser_Info) GetUid

func (x *CardWithOrig_OriginUser_Info) GetUid() int64

func (*CardWithOrig_OriginUser_Info) GetUname

func (x *CardWithOrig_OriginUser_Info) GetUname() string

func (*CardWithOrig_OriginUser_Info) ProtoMessage

func (*CardWithOrig_OriginUser_Info) ProtoMessage()

func (*CardWithOrig_OriginUser_Info) ProtoReflect added in v1.1.1

func (*CardWithOrig_OriginUser_Info) Reset

func (x *CardWithOrig_OriginUser_Info) Reset()

func (*CardWithOrig_OriginUser_Info) String

type CardWithPost

type CardWithPost struct {
	Title       string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Summary     string   `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	ImageUrls   []string `protobuf:"bytes,3,rep,name=image_urls,json=imageUrls,proto3" json:"image_urls,omitempty"`
	BannerUrl   string   `protobuf:"bytes,4,opt,name=banner_url,json=bannerUrl,proto3" json:"banner_url,omitempty"`
	PublishTime int64    `protobuf:"varint,5,opt,name=publish_time,json=publishTime,proto3" json:"publish_time,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithPost) Descriptor deprecated

func (*CardWithPost) Descriptor() ([]byte, []int)

Deprecated: Use CardWithPost.ProtoReflect.Descriptor instead.

func (*CardWithPost) GetBannerUrl

func (x *CardWithPost) GetBannerUrl() string

func (*CardWithPost) GetImageUrls

func (x *CardWithPost) GetImageUrls() []string

func (*CardWithPost) GetPublishTime

func (x *CardWithPost) GetPublishTime() int64

func (*CardWithPost) GetSummary

func (x *CardWithPost) GetSummary() string

func (*CardWithPost) GetTitle

func (x *CardWithPost) GetTitle() string

func (*CardWithPost) ProtoMessage

func (*CardWithPost) ProtoMessage()

func (*CardWithPost) ProtoReflect added in v1.1.1

func (x *CardWithPost) ProtoReflect() protoreflect.Message

func (*CardWithPost) Reset

func (x *CardWithPost) Reset()

func (*CardWithPost) String

func (x *CardWithPost) String() string

type CardWithSketch

type CardWithSketch struct {
	Vest   *CardWithSketch_Vest   `protobuf:"bytes,1,opt,name=vest,proto3" json:"vest,omitempty"`
	Sketch *CardWithSketch_Sketch `protobuf:"bytes,2,opt,name=sketch,proto3" json:"sketch,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithSketch) Descriptor deprecated

func (*CardWithSketch) Descriptor() ([]byte, []int)

Deprecated: Use CardWithSketch.ProtoReflect.Descriptor instead.

func (*CardWithSketch) GetSketch

func (x *CardWithSketch) GetSketch() *CardWithSketch_Sketch

func (*CardWithSketch) GetVest

func (x *CardWithSketch) GetVest() *CardWithSketch_Vest

func (*CardWithSketch) ProtoMessage

func (*CardWithSketch) ProtoMessage()

func (*CardWithSketch) ProtoReflect added in v1.1.1

func (x *CardWithSketch) ProtoReflect() protoreflect.Message

func (*CardWithSketch) Reset

func (x *CardWithSketch) Reset()

func (*CardWithSketch) String

func (x *CardWithSketch) String() string

type CardWithSketch_Sketch

type CardWithSketch_Sketch struct {
	Title     string                       `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	DescText  string                       `protobuf:"bytes,2,opt,name=desc_text,json=descText,proto3" json:"desc_text,omitempty"`
	BizType   int32                        `protobuf:"varint,3,opt,name=biz_type,json=bizType,proto3" json:"biz_type,omitempty"`
	SketchId  int64                        `protobuf:"varint,4,opt,name=sketch_id,json=sketchId,proto3" json:"sketch_id,omitempty"`
	CoverUrl  string                       `protobuf:"bytes,5,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"`
	Tags      []*CardWithSketch_Sketch_Tag `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
	TargetUrl string                       `protobuf:"bytes,7,opt,name=target_url,json=targetUrl,proto3" json:"target_url,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithSketch_Sketch) Descriptor deprecated

func (*CardWithSketch_Sketch) Descriptor() ([]byte, []int)

Deprecated: Use CardWithSketch_Sketch.ProtoReflect.Descriptor instead.

func (*CardWithSketch_Sketch) GetBizType added in v0.0.9

func (x *CardWithSketch_Sketch) GetBizType() int32

func (*CardWithSketch_Sketch) GetCoverUrl added in v0.0.9

func (x *CardWithSketch_Sketch) GetCoverUrl() string

func (*CardWithSketch_Sketch) GetDescText

func (x *CardWithSketch_Sketch) GetDescText() string

func (*CardWithSketch_Sketch) GetSketchId added in v0.0.9

func (x *CardWithSketch_Sketch) GetSketchId() int64

func (*CardWithSketch_Sketch) GetTags added in v0.0.9

func (*CardWithSketch_Sketch) GetTargetUrl added in v0.0.9

func (x *CardWithSketch_Sketch) GetTargetUrl() string

func (*CardWithSketch_Sketch) GetTitle

func (x *CardWithSketch_Sketch) GetTitle() string

func (*CardWithSketch_Sketch) ProtoMessage

func (*CardWithSketch_Sketch) ProtoMessage()

func (*CardWithSketch_Sketch) ProtoReflect added in v1.1.1

func (x *CardWithSketch_Sketch) ProtoReflect() protoreflect.Message

func (*CardWithSketch_Sketch) Reset

func (x *CardWithSketch_Sketch) Reset()

func (*CardWithSketch_Sketch) String

func (x *CardWithSketch_Sketch) String() string

type CardWithSketch_Sketch_Tag added in v0.0.9

type CardWithSketch_Sketch_Tag struct {
	Color string `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type  int32  `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithSketch_Sketch_Tag) Descriptor deprecated added in v0.0.9

func (*CardWithSketch_Sketch_Tag) Descriptor() ([]byte, []int)

Deprecated: Use CardWithSketch_Sketch_Tag.ProtoReflect.Descriptor instead.

func (*CardWithSketch_Sketch_Tag) GetColor added in v0.0.9

func (x *CardWithSketch_Sketch_Tag) GetColor() string

func (*CardWithSketch_Sketch_Tag) GetName added in v0.0.9

func (x *CardWithSketch_Sketch_Tag) GetName() string

func (*CardWithSketch_Sketch_Tag) GetType added in v0.0.9

func (x *CardWithSketch_Sketch_Tag) GetType() int32

func (*CardWithSketch_Sketch_Tag) ProtoMessage added in v0.0.9

func (*CardWithSketch_Sketch_Tag) ProtoMessage()

func (*CardWithSketch_Sketch_Tag) ProtoReflect added in v1.1.1

func (*CardWithSketch_Sketch_Tag) Reset added in v0.0.9

func (x *CardWithSketch_Sketch_Tag) Reset()

func (*CardWithSketch_Sketch_Tag) String added in v0.0.9

func (x *CardWithSketch_Sketch_Tag) String() string

type CardWithSketch_Vest

type CardWithSketch_Vest struct {
	Uid     int64  `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithSketch_Vest) Descriptor deprecated

func (*CardWithSketch_Vest) Descriptor() ([]byte, []int)

Deprecated: Use CardWithSketch_Vest.ProtoReflect.Descriptor instead.

func (*CardWithSketch_Vest) GetContent

func (x *CardWithSketch_Vest) GetContent() string

func (*CardWithSketch_Vest) GetUid

func (x *CardWithSketch_Vest) GetUid() int64

func (*CardWithSketch_Vest) ProtoMessage

func (*CardWithSketch_Vest) ProtoMessage()

func (*CardWithSketch_Vest) ProtoReflect added in v1.1.1

func (x *CardWithSketch_Vest) ProtoReflect() protoreflect.Message

func (*CardWithSketch_Vest) Reset

func (x *CardWithSketch_Vest) Reset()

func (*CardWithSketch_Vest) String

func (x *CardWithSketch_Vest) String() string

type CardWithVideo

type CardWithVideo struct {
	Desc     string                `protobuf:"bytes,1,opt,name=desc,proto3" json:"desc,omitempty"`
	Duration int32                 `protobuf:"varint,2,opt,name=duration,proto3" json:"duration,omitempty"`
	Dynamic  string                `protobuf:"bytes,3,opt,name=dynamic,proto3" json:"dynamic,omitempty"`
	Pubdate  int64                 `protobuf:"varint,4,opt,name=pubdate,proto3" json:"pubdate,omitempty"`
	Title    string                `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	Tname    string                `protobuf:"bytes,6,opt,name=tname,proto3" json:"tname,omitempty"`
	Videos   int32                 `protobuf:"varint,7,opt,name=videos,proto3" json:"videos,omitempty"`
	Pic      string                `protobuf:"bytes,8,opt,name=pic,proto3" json:"pic,omitempty"`
	Origin   *CardWithVideo_Origin `protobuf:"bytes,9,opt,name=origin,proto3" json:"origin,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithVideo) Descriptor deprecated

func (*CardWithVideo) Descriptor() ([]byte, []int)

Deprecated: Use CardWithVideo.ProtoReflect.Descriptor instead.

func (*CardWithVideo) GetDesc

func (x *CardWithVideo) GetDesc() string

func (*CardWithVideo) GetDuration

func (x *CardWithVideo) GetDuration() int32

func (*CardWithVideo) GetDynamic

func (x *CardWithVideo) GetDynamic() string

func (*CardWithVideo) GetOrigin added in v0.0.20

func (x *CardWithVideo) GetOrigin() *CardWithVideo_Origin

func (*CardWithVideo) GetPic

func (x *CardWithVideo) GetPic() string

func (*CardWithVideo) GetPubdate

func (x *CardWithVideo) GetPubdate() int64

func (*CardWithVideo) GetTitle

func (x *CardWithVideo) GetTitle() string

func (*CardWithVideo) GetTname

func (x *CardWithVideo) GetTname() string

func (*CardWithVideo) GetVideos

func (x *CardWithVideo) GetVideos() int32

func (*CardWithVideo) ProtoMessage

func (*CardWithVideo) ProtoMessage()

func (*CardWithVideo) ProtoReflect added in v1.1.1

func (x *CardWithVideo) ProtoReflect() protoreflect.Message

func (*CardWithVideo) Reset

func (x *CardWithVideo) Reset()

func (*CardWithVideo) String

func (x *CardWithVideo) String() string

type CardWithVideo_Origin added in v0.0.20

type CardWithVideo_Origin struct {
	Uid          int64           `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Type         DynamicDescType `protobuf:"varint,2,opt,name=type,proto3,enum=bilibili.DynamicDescType" json:"type,omitempty"`
	DynamicIdStr string          `protobuf:"bytes,5,opt,name=dynamic_id_str,json=dynamicIdStr,proto3" json:"dynamic_id_str,omitempty"`
	Bvid         string          `protobuf:"bytes,9,opt,name=bvid,proto3" json:"bvid,omitempty"`
	// contains filtered or unexported fields
}

func (*CardWithVideo_Origin) Descriptor deprecated added in v0.0.20

func (*CardWithVideo_Origin) Descriptor() ([]byte, []int)

Deprecated: Use CardWithVideo_Origin.ProtoReflect.Descriptor instead.

func (*CardWithVideo_Origin) GetBvid added in v0.0.20

func (x *CardWithVideo_Origin) GetBvid() string

func (*CardWithVideo_Origin) GetDynamicIdStr added in v0.0.20

func (x *CardWithVideo_Origin) GetDynamicIdStr() string

func (*CardWithVideo_Origin) GetType added in v0.0.20

func (*CardWithVideo_Origin) GetUid added in v0.0.20

func (x *CardWithVideo_Origin) GetUid() int64

func (*CardWithVideo_Origin) ProtoMessage added in v0.0.20

func (*CardWithVideo_Origin) ProtoMessage()

func (*CardWithVideo_Origin) ProtoReflect added in v1.1.1

func (x *CardWithVideo_Origin) ProtoReflect() protoreflect.Message

func (*CardWithVideo_Origin) Reset added in v0.0.20

func (x *CardWithVideo_Origin) Reset()

func (*CardWithVideo_Origin) String added in v0.0.20

func (x *CardWithVideo_Origin) String() string

type Card_Desc

type Card_Desc struct {
	DynamicId    int64                  `protobuf:"varint,1,opt,name=dynamic_id,json=dynamicId,proto3" json:"dynamic_id,omitempty"`
	OrigDyId     int64                  `protobuf:"varint,2,opt,name=orig_dy_id,json=origDyId,proto3" json:"orig_dy_id,omitempty"`
	OrigType     DynamicDescType        `protobuf:"varint,3,opt,name=orig_type,json=origType,proto3,enum=bilibili.DynamicDescType" json:"orig_type,omitempty"`
	PreDyId      int64                  `protobuf:"varint,4,opt,name=pre_dy_id,json=preDyId,proto3" json:"pre_dy_id,omitempty"`
	Comment      int32                  `protobuf:"varint,5,opt,name=comment,proto3" json:"comment,omitempty"`
	Like         int32                  `protobuf:"varint,6,opt,name=like,proto3" json:"like,omitempty"`
	View         int32                  `protobuf:"varint,7,opt,name=view,proto3" json:"view,omitempty"`
	Repost       int32                  `protobuf:"varint,8,opt,name=repost,proto3" json:"repost,omitempty"`
	Timestamp    int64                  `protobuf:"varint,9,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Type         DynamicDescType        `protobuf:"varint,10,opt,name=type,proto3,enum=bilibili.DynamicDescType" json:"type,omitempty"`
	Bvid         string                 `protobuf:"bytes,11,opt,name=bvid,proto3" json:"bvid,omitempty"`
	DynamicIdStr string                 `protobuf:"bytes,12,opt,name=dynamic_id_str,json=dynamicIdStr,proto3" json:"dynamic_id_str,omitempty"`
	Uid          int64                  `protobuf:"varint,13,opt,name=uid,proto3" json:"uid,omitempty"`
	UserProfile  *Card_Desc_UserProfile `protobuf:"bytes,14,opt,name=user_profile,json=userProfile,proto3" json:"user_profile,omitempty"`
	PreDyIdStr   string                 `protobuf:"bytes,15,opt,name=pre_dy_id_str,json=preDyIdStr,proto3" json:"pre_dy_id_str,omitempty"`
	OrigDyIdStr  string                 `protobuf:"bytes,16,opt,name=orig_dy_id_str,json=origDyIdStr,proto3" json:"orig_dy_id_str,omitempty"`
	RidStr       string                 `protobuf:"bytes,17,opt,name=rid_str,json=ridStr,proto3" json:"rid_str,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Desc) Descriptor deprecated

func (*Card_Desc) Descriptor() ([]byte, []int)

Deprecated: Use Card_Desc.ProtoReflect.Descriptor instead.

func (*Card_Desc) GetBvid

func (x *Card_Desc) GetBvid() string

func (*Card_Desc) GetComment

func (x *Card_Desc) GetComment() int32

func (*Card_Desc) GetDynamicId

func (x *Card_Desc) GetDynamicId() int64

func (*Card_Desc) GetDynamicIdStr

func (x *Card_Desc) GetDynamicIdStr() string

func (*Card_Desc) GetLike

func (x *Card_Desc) GetLike() int32

func (*Card_Desc) GetOrigDyId

func (x *Card_Desc) GetOrigDyId() int64

func (*Card_Desc) GetOrigDyIdStr added in v0.1.3

func (x *Card_Desc) GetOrigDyIdStr() string

func (*Card_Desc) GetOrigType

func (x *Card_Desc) GetOrigType() DynamicDescType

func (*Card_Desc) GetPreDyId

func (x *Card_Desc) GetPreDyId() int64

func (*Card_Desc) GetPreDyIdStr added in v0.1.3

func (x *Card_Desc) GetPreDyIdStr() string

func (*Card_Desc) GetRepost

func (x *Card_Desc) GetRepost() int32

func (*Card_Desc) GetRidStr added in v0.1.3

func (x *Card_Desc) GetRidStr() string

func (*Card_Desc) GetTimestamp

func (x *Card_Desc) GetTimestamp() int64

func (*Card_Desc) GetType

func (x *Card_Desc) GetType() DynamicDescType

func (*Card_Desc) GetUid

func (x *Card_Desc) GetUid() int64

func (*Card_Desc) GetUserProfile added in v0.0.7

func (x *Card_Desc) GetUserProfile() *Card_Desc_UserProfile

func (*Card_Desc) GetView

func (x *Card_Desc) GetView() int32

func (*Card_Desc) ProtoMessage

func (*Card_Desc) ProtoMessage()

func (*Card_Desc) ProtoReflect added in v1.1.1

func (x *Card_Desc) ProtoReflect() protoreflect.Message

func (*Card_Desc) Reset

func (x *Card_Desc) Reset()

func (*Card_Desc) String

func (x *Card_Desc) String() string

type Card_Desc_UserProfile added in v0.0.7

type Card_Desc_UserProfile struct {
	Info *Card_Desc_UserProfile_Info `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Desc_UserProfile) Descriptor deprecated added in v0.0.7

func (*Card_Desc_UserProfile) Descriptor() ([]byte, []int)

Deprecated: Use Card_Desc_UserProfile.ProtoReflect.Descriptor instead.

func (*Card_Desc_UserProfile) GetInfo added in v0.0.7

func (*Card_Desc_UserProfile) ProtoMessage added in v0.0.7

func (*Card_Desc_UserProfile) ProtoMessage()

func (*Card_Desc_UserProfile) ProtoReflect added in v1.1.1

func (x *Card_Desc_UserProfile) ProtoReflect() protoreflect.Message

func (*Card_Desc_UserProfile) Reset added in v0.0.7

func (x *Card_Desc_UserProfile) Reset()

func (*Card_Desc_UserProfile) String added in v0.0.7

func (x *Card_Desc_UserProfile) String() string

type Card_Desc_UserProfile_Info added in v0.0.7

type Card_Desc_UserProfile_Info struct {
	Uid   int64  `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Uname string `protobuf:"bytes,2,opt,name=uname,proto3" json:"uname,omitempty"`
	Face  string `protobuf:"bytes,3,opt,name=face,proto3" json:"face,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Desc_UserProfile_Info) Descriptor deprecated added in v0.0.7

func (*Card_Desc_UserProfile_Info) Descriptor() ([]byte, []int)

Deprecated: Use Card_Desc_UserProfile_Info.ProtoReflect.Descriptor instead.

func (*Card_Desc_UserProfile_Info) GetFace added in v0.0.7

func (x *Card_Desc_UserProfile_Info) GetFace() string

func (*Card_Desc_UserProfile_Info) GetUid added in v0.0.7

func (x *Card_Desc_UserProfile_Info) GetUid() int64

func (*Card_Desc_UserProfile_Info) GetUname added in v0.0.7

func (x *Card_Desc_UserProfile_Info) GetUname() string

func (*Card_Desc_UserProfile_Info) ProtoMessage added in v0.0.7

func (*Card_Desc_UserProfile_Info) ProtoMessage()

func (*Card_Desc_UserProfile_Info) ProtoReflect added in v1.1.1

func (*Card_Desc_UserProfile_Info) Reset added in v0.0.7

func (x *Card_Desc_UserProfile_Info) Reset()

func (*Card_Desc_UserProfile_Info) String added in v0.0.7

func (x *Card_Desc_UserProfile_Info) String() string

type Card_Display

type Card_Display struct {
	EmojiInfo *Card_Display_EmojiInfo `protobuf:"bytes,1,opt,name=emoji_info,json=emojiInfo,proto3" json:"emoji_info,omitempty"`
	LikeInfo  *Card_Display_LikeInfo  `protobuf:"bytes,2,opt,name=like_info,json=likeInfo,proto3" json:"like_info,omitempty"`
	Origin    *Card_Display_Origin    `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin,omitempty"`
	// 可能是新增的功能,会在动态下面加一个小卡片,目前如预约直播显示信息,发起投票的投票内容缩略,游戏官方动态下面的相关游戏
	AddOnCardInfo []*Card_Display_AddOnCardInfo `protobuf:"bytes,4,rep,name=add_on_card_info,json=addOnCardInfo,proto3" json:"add_on_card_info,omitempty"`
	UsrActionTxt  string                        `protobuf:"bytes,5,opt,name=usr_action_txt,json=usrActionTxt,proto3" json:"usr_action_txt,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Display) Descriptor deprecated

func (*Card_Display) Descriptor() ([]byte, []int)

Deprecated: Use Card_Display.ProtoReflect.Descriptor instead.

func (*Card_Display) GetAddOnCardInfo

func (x *Card_Display) GetAddOnCardInfo() []*Card_Display_AddOnCardInfo

func (*Card_Display) GetEmojiInfo

func (x *Card_Display) GetEmojiInfo() *Card_Display_EmojiInfo

func (*Card_Display) GetLikeInfo

func (x *Card_Display) GetLikeInfo() *Card_Display_LikeInfo

func (*Card_Display) GetOrigin

func (x *Card_Display) GetOrigin() *Card_Display_Origin

func (*Card_Display) GetUsrActionTxt

func (x *Card_Display) GetUsrActionTxt() string

func (*Card_Display) ProtoMessage

func (*Card_Display) ProtoMessage()

func (*Card_Display) ProtoReflect added in v1.1.1

func (x *Card_Display) ProtoReflect() protoreflect.Message

func (*Card_Display) Reset

func (x *Card_Display) Reset()

func (*Card_Display) String

func (x *Card_Display) String() string

type Card_Display_AddOnCardInfo

type Card_Display_AddOnCardInfo struct {
	AddOnCardShowType AddOnCardShowType                             `` /* 151-byte string literal not displayed */
	ReserveAttachCard *Card_Display_AddOnCardInfo_ReserveAttachCard `protobuf:"bytes,2,opt,name=reserve_attach_card,json=reserveAttachCard,proto3" json:"reserve_attach_card,omitempty"`
	AttachCard        *Card_Display_AddOnCardInfo_AttachCard        `protobuf:"bytes,3,opt,name=attach_card,json=attachCard,proto3" json:"attach_card,omitempty"`
	VoteCard          string                                        `protobuf:"bytes,4,opt,name=vote_card,json=voteCard,proto3" json:"vote_card,omitempty"`
	UgcAttachCard     *Card_Display_AddOnCardInfo_UgcAttachCard     `protobuf:"bytes,5,opt,name=ugc_attach_card,json=ugcAttachCard,proto3" json:"ugc_attach_card,omitempty"`
	GoodsCard         string                                        `protobuf:"bytes,6,opt,name=goods_card,json=goodsCard,proto3" json:"goods_card,omitempty"`
	// contains filtered or unexported fields
}

动态下面附加一个信息

func (*Card_Display_AddOnCardInfo) Descriptor deprecated

func (*Card_Display_AddOnCardInfo) Descriptor() ([]byte, []int)

Deprecated: Use Card_Display_AddOnCardInfo.ProtoReflect.Descriptor instead.

func (*Card_Display_AddOnCardInfo) GetAddOnCardShowType

func (x *Card_Display_AddOnCardInfo) GetAddOnCardShowType() AddOnCardShowType

func (*Card_Display_AddOnCardInfo) GetAttachCard

func (*Card_Display_AddOnCardInfo) GetGoodsCard added in v0.0.10

func (x *Card_Display_AddOnCardInfo) GetGoodsCard() string

func (*Card_Display_AddOnCardInfo) GetReserveAttachCard

func (*Card_Display_AddOnCardInfo) GetUgcAttachCard

func (*Card_Display_AddOnCardInfo) GetVoteCard

func (x *Card_Display_AddOnCardInfo) GetVoteCard() string

func (*Card_Display_AddOnCardInfo) ProtoMessage

func (*Card_Display_AddOnCardInfo) ProtoMessage()

func (*Card_Display_AddOnCardInfo) ProtoReflect added in v1.1.1

func (*Card_Display_AddOnCardInfo) Reset

func (x *Card_Display_AddOnCardInfo) Reset()

func (*Card_Display_AddOnCardInfo) String

func (x *Card_Display_AddOnCardInfo) String() string

type Card_Display_AddOnCardInfo_AttachCard

type Card_Display_AddOnCardInfo_AttachCard struct {
	Type       string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	HeadText   string `protobuf:"bytes,2,opt,name=head_text,json=headText,proto3" json:"head_text,omitempty"`
	CoverUrl   string `protobuf:"bytes,3,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty"`
	CoverType  int32  `protobuf:"varint,4,opt,name=cover_type,json=coverType,proto3" json:"cover_type,omitempty"`
	Title      string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	DescFirst  string `protobuf:"bytes,6,opt,name=desc_first,json=descFirst,proto3" json:"desc_first,omitempty"`
	DescSecond string `protobuf:"bytes,7,opt,name=desc_second,json=descSecond,proto3" json:"desc_second,omitempty"`
	JumpUrl    string `protobuf:"bytes,8,opt,name=jump_url,json=jumpUrl,proto3" json:"jump_url,omitempty"`
	OidStr     string `protobuf:"bytes,9,opt,name=oid_str,json=oidStr,proto3" json:"oid_str,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Display_AddOnCardInfo_AttachCard) Descriptor deprecated

func (*Card_Display_AddOnCardInfo_AttachCard) Descriptor() ([]byte, []int)

Deprecated: Use Card_Display_AddOnCardInfo_AttachCard.ProtoReflect.Descriptor instead.

func (*Card_Display_AddOnCardInfo_AttachCard) GetCoverType

func (x *Card_Display_AddOnCardInfo_AttachCard) GetCoverType() int32

func (*Card_Display_AddOnCardInfo_AttachCard) GetCoverUrl

func (*Card_Display_AddOnCardInfo_AttachCard) GetDescFirst

func (*Card_Display_AddOnCardInfo_AttachCard) GetDescSecond

func (x *Card_Display_AddOnCardInfo_AttachCard) GetDescSecond() string

func (*Card_Display_AddOnCardInfo_AttachCard) GetHeadText

func (*Card_Display_AddOnCardInfo_AttachCard) GetJumpUrl

func (*Card_Display_AddOnCardInfo_AttachCard) GetOidStr

func (*Card_Display_AddOnCardInfo_AttachCard) GetTitle

func (*Card_Display_AddOnCardInfo_AttachCard) GetType

func (*Card_Display_AddOnCardInfo_AttachCard) ProtoMessage

func (*Card_Display_AddOnCardInfo_AttachCard) ProtoMessage()

func (*Card_Display_AddOnCardInfo_AttachCard) ProtoReflect added in v1.1.1

func (*Card_Display_AddOnCardInfo_AttachCard) Reset

func (*Card_Display_AddOnCardInfo_AttachCard) String

type Card_Display_AddOnCardInfo_GoodsCard added in v0.0.10

type Card_Display_AddOnCardInfo_GoodsCard struct {
	List []*Card_Display_AddOnCardInfo_GoodsCard_ListItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Display_AddOnCardInfo_GoodsCard) Descriptor deprecated added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard) Descriptor() ([]byte, []int)

Deprecated: Use Card_Display_AddOnCardInfo_GoodsCard.ProtoReflect.Descriptor instead.

func (*Card_Display_AddOnCardInfo_GoodsCard) GetList added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard) ProtoMessage added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard) ProtoMessage()

func (*Card_Display_AddOnCardInfo_GoodsCard) ProtoReflect added in v1.1.1

func (*Card_Display_AddOnCardInfo_GoodsCard) Reset added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard) String added in v0.0.10

type Card_Display_AddOnCardInfo_GoodsCard_ListItem added in v0.0.10

type Card_Display_AddOnCardInfo_GoodsCard_ListItem struct {

	// UP主的推荐
	AdMark  string `protobuf:"bytes,1,opt,name=adMark,proto3" json:"adMark,omitempty"`
	AppName string `protobuf:"bytes,2,opt,name=appName,proto3" json:"appName,omitempty"`
	Brief   string `protobuf:"bytes,3,opt,name=brief,proto3" json:"brief,omitempty"`
	// descTags = 4; 目前格式未知
	DynamicId         int64   `protobuf:"varint,5,opt,name=dynamicId,proto3" json:"dynamicId,omitempty"`
	IconName          string  `protobuf:"bytes,6,opt,name=iconName,proto3" json:"iconName,omitempty"`
	IconUrl           string  `protobuf:"bytes,7,opt,name=iconUrl,proto3" json:"iconUrl,omitempty"`
	Id                int64   `protobuf:"varint,8,opt,name=id,proto3" json:"id,omitempty"`
	Img               string  `protobuf:"bytes,9,opt,name=img,proto3" json:"img,omitempty"` // 这个是头图
	ItemIdStr         string  `protobuf:"bytes,10,opt,name=itemIdStr,proto3" json:"itemIdStr,omitempty"`
	ItemsId           int64   `protobuf:"varint,11,opt,name=itemsId,proto3" json:"itemsId,omitempty"`
	JumpLink          string  `protobuf:"bytes,12,opt,name=jumpLink,proto3" json:"jumpLink,omitempty"`
	JumpLinkDesc      string  `protobuf:"bytes,13,opt,name=jumpLinkDesc,proto3" json:"jumpLinkDesc,omitempty"`
	Msource           string  `protobuf:"bytes,14,opt,name=msource,proto3" json:"msource,omitempty"`
	Name              string  `protobuf:"bytes,15,opt,name=name,proto3" json:"name,omitempty"`
	OriPrice          string  `protobuf:"bytes,16,opt,name=oriPrice,proto3" json:"oriPrice,omitempty"`
	OuterId           int64   `protobuf:"varint,17,opt,name=outerId,proto3" json:"outerId,omitempty"`
	Price             float32 `protobuf:"fixed32,18,opt,name=price,proto3" json:"price,omitempty"`
	PriceStr          string  `protobuf:"bytes,19,opt,name=priceStr,proto3" json:"priceStr,omitempty"`
	SchemaPackageName string  `protobuf:"bytes,20,opt,name=schemaPackageName,proto3" json:"schemaPackageName,omitempty"`
	SchemaUrl         string  `protobuf:"bytes,21,opt,name=schemaUrl,proto3" json:"schemaUrl,omitempty"`
	ShopGoodType      int32   `protobuf:"varint,22,opt,name=shopGoodType,proto3" json:"shopGoodType,omitempty"`
	SourceType        int32   `protobuf:"varint,23,opt,name=sourceType,proto3" json:"sourceType,omitempty"`
	Type              int32   `protobuf:"varint,24,opt,name=type,proto3" json:"type,omitempty"`
	UseAdWebV2        bool    `protobuf:"varint,25,opt,name=useAdWebV2,proto3" json:"useAdWebV2,omitempty"`
	WordJumpLinkDesc  string  `protobuf:"bytes,26,opt,name=wordJumpLinkDesc,proto3" json:"wordJumpLinkDesc,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) Descriptor deprecated added in v0.0.10

Deprecated: Use Card_Display_AddOnCardInfo_GoodsCard_ListItem.ProtoReflect.Descriptor instead.

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetAdMark added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetAppName added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetBrief added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetDynamicId added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetIconName added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetIconUrl added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetId added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetImg added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetItemIdStr added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetItemsId added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetJumpLinkDesc added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetMsource added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetName added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetOriPrice added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetOuterId added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetPrice added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetPriceStr added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetSchemaPackageName added in v0.0.10

func (x *Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetSchemaPackageName() string

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetSchemaUrl added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetShopGoodType added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetSourceType added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetType added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetUseAdWebV2 added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetWordJumpLinkDesc added in v0.0.10

func (x *Card_Display_AddOnCardInfo_GoodsCard_ListItem) GetWordJumpLinkDesc() string

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) ProtoMessage added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) ProtoReflect added in v1.1.1

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) Reset added in v0.0.10

func (*Card_Display_AddOnCardInfo_GoodsCard_ListItem) String added in v0.0.10

type Card_Display_AddOnCardInfo_ReserveAttachCard

type Card_Display_AddOnCardInfo_ReserveAttachCard struct {

	// 预约种类 reserve
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// 预约标题
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	State int64  `protobuf:"varint,3,opt,name=state,proto3" json:"state,omitempty"`
	// 已经有多少人预约了
	ReserveTotal int64 `protobuf:"varint,4,opt,name=reserve_total,json=reserveTotal,proto3" json:"reserve_total,omitempty"`
	// 显示在上面的部分
	DescFirst *Card_Display_AddOnCardInfo_ReserveAttachCard_DescFirst `protobuf:"bytes,5,opt,name=desc_first,json=descFirst,proto3" json:"desc_first,omitempty"`
	// 显示在下面的部分
	DescSecond        string                                                       `protobuf:"bytes,6,opt,name=desc_second,json=descSecond,proto3" json:"desc_second,omitempty"`
	OidStr            string                                                       `protobuf:"bytes,7,opt,name=oid_str,json=oidStr,proto3" json:"oid_str,omitempty"`
	OriginState       int64                                                        `protobuf:"varint,8,opt,name=origin_state,json=originState,proto3" json:"origin_state,omitempty"`
	Stype             int64                                                        `protobuf:"varint,9,opt,name=stype,proto3" json:"stype,omitempty"`
	LivePlanStartTime int64                                                        `protobuf:"varint,10,opt,name=livePlanStartTime,proto3" json:"livePlanStartTime,omitempty"`
	ReserveLottery    *Card_Display_AddOnCardInfo_ReserveAttachCard_ReserveLottery `protobuf:"bytes,11,opt,name=reserve_lottery,json=reserveLottery,proto3" json:"reserve_lottery,omitempty"`
	ShowDescSecond    bool                                                         `protobuf:"varint,14,opt,name=show_desc_second,json=showDescSecond,proto3" json:"show_desc_second,omitempty"`
	// contains filtered or unexported fields
}

附加预约信息

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) Descriptor deprecated

Deprecated: Use Card_Display_AddOnCardInfo_ReserveAttachCard.ProtoReflect.Descriptor instead.

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) GetDescFirst

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) GetDescSecond

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) GetLivePlanStartTime added in v0.0.19

func (x *Card_Display_AddOnCardInfo_ReserveAttachCard) GetLivePlanStartTime() int64

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) GetOidStr

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) GetOriginState

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) GetReserveLottery added in v0.0.19

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) GetReserveTotal

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) GetShowDescSecond added in v0.0.19

func (x *Card_Display_AddOnCardInfo_ReserveAttachCard) GetShowDescSecond() bool

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) GetState

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) GetStype added in v0.0.19

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) GetTitle

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) GetType

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) ProtoMessage

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) ProtoReflect added in v1.1.1

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) Reset

func (*Card_Display_AddOnCardInfo_ReserveAttachCard) String

type Card_Display_AddOnCardInfo_ReserveAttachCard_DescFirst

type Card_Display_AddOnCardInfo_ReserveAttachCard_DescFirst struct {
	Text  string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Style int64  `protobuf:"varint,2,opt,name=style,proto3" json:"style,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_DescFirst) Descriptor deprecated

Deprecated: Use Card_Display_AddOnCardInfo_ReserveAttachCard_DescFirst.ProtoReflect.Descriptor instead.

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_DescFirst) GetStyle

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_DescFirst) GetText

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_DescFirst) ProtoMessage

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_DescFirst) ProtoReflect added in v1.1.1

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_DescFirst) Reset

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_DescFirst) String

type Card_Display_AddOnCardInfo_ReserveAttachCard_ReserveLottery added in v0.0.19

type Card_Display_AddOnCardInfo_ReserveAttachCard_ReserveLottery struct {

	// 抽奖的那个礼物图标
	Icon        string `protobuf:"bytes,1,opt,name=icon,proto3" json:"icon,omitempty"`
	Text        string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	JumpUrl     string `protobuf:"bytes,3,opt,name=jump_url,json=jumpUrl,proto3" json:"jump_url,omitempty"`
	LotteryType int64  `protobuf:"varint,4,opt,name=lottery_type,json=lotteryType,proto3" json:"lottery_type,omitempty"`
	ShareIcon   string `protobuf:"bytes,5,opt,name=share_icon,json=shareIcon,proto3" json:"share_icon,omitempty"`
	// contains filtered or unexported fields
}

预约抽奖

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_ReserveLottery) Descriptor deprecated added in v0.0.19

Deprecated: Use Card_Display_AddOnCardInfo_ReserveAttachCard_ReserveLottery.ProtoReflect.Descriptor instead.

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_ReserveLottery) GetIcon added in v0.0.19

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_ReserveLottery) GetJumpUrl added in v0.0.19

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_ReserveLottery) GetLotteryType added in v0.0.19

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_ReserveLottery) GetShareIcon added in v0.0.19

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_ReserveLottery) GetText added in v0.0.19

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_ReserveLottery) ProtoMessage added in v0.0.19

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_ReserveLottery) ProtoReflect added in v1.1.1

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_ReserveLottery) Reset added in v0.0.19

func (*Card_Display_AddOnCardInfo_ReserveAttachCard_ReserveLottery) String added in v0.0.19

type Card_Display_AddOnCardInfo_TextVoteCard

type Card_Display_AddOnCardInfo_TextVoteCard struct {
	ChoiceCnt    int32                                                     `protobuf:"varint,1,opt,name=choice_cnt,json=choiceCnt,proto3" json:"choice_cnt,omitempty"`
	DefaultShare int32                                                     `protobuf:"varint,2,opt,name=default_share,json=defaultShare,proto3" json:"default_share,omitempty"`
	DefaultText  string                                                    `protobuf:"bytes,3,opt,name=default_text,json=defaultText,proto3" json:"default_text,omitempty"`
	Desc         string                                                    `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"`
	Endtime      int64                                                     `protobuf:"varint,5,opt,name=endtime,proto3" json:"endtime,omitempty"`
	JoinNum      int64                                                     `protobuf:"varint,6,opt,name=join_num,json=joinNum,proto3" json:"join_num,omitempty"`
	Options      []*Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption `protobuf:"bytes,7,rep,name=options,proto3" json:"options,omitempty"`
	Status       int64                                                     `protobuf:"varint,8,opt,name=status,proto3" json:"status,omitempty"`
	Type         int64                                                     `protobuf:"varint,9,opt,name=type,proto3" json:"type,omitempty"`
	Uid          int64                                                     `protobuf:"varint,10,opt,name=uid,proto3" json:"uid,omitempty"`
	VoteId       int64                                                     `protobuf:"varint,11,opt,name=vote_id,json=voteId,proto3" json:"vote_id,omitempty"`
	// contains filtered or unexported fields
}

可能分为文字投票和图片投票两种,遇到再说

func (*Card_Display_AddOnCardInfo_TextVoteCard) Descriptor deprecated

func (*Card_Display_AddOnCardInfo_TextVoteCard) Descriptor() ([]byte, []int)

Deprecated: Use Card_Display_AddOnCardInfo_TextVoteCard.ProtoReflect.Descriptor instead.

func (*Card_Display_AddOnCardInfo_TextVoteCard) GetChoiceCnt

func (*Card_Display_AddOnCardInfo_TextVoteCard) GetDefaultShare

func (x *Card_Display_AddOnCardInfo_TextVoteCard) GetDefaultShare() int32

func (*Card_Display_AddOnCardInfo_TextVoteCard) GetDefaultText

func (x *Card_Display_AddOnCardInfo_TextVoteCard) GetDefaultText() string

func (*Card_Display_AddOnCardInfo_TextVoteCard) GetDesc

func (*Card_Display_AddOnCardInfo_TextVoteCard) GetEndtime

func (*Card_Display_AddOnCardInfo_TextVoteCard) GetJoinNum

func (*Card_Display_AddOnCardInfo_TextVoteCard) GetOptions

func (*Card_Display_AddOnCardInfo_TextVoteCard) GetStatus

func (*Card_Display_AddOnCardInfo_TextVoteCard) GetType

func (*Card_Display_AddOnCardInfo_TextVoteCard) GetUid

func (*Card_Display_AddOnCardInfo_TextVoteCard) GetVoteId

func (*Card_Display_AddOnCardInfo_TextVoteCard) ProtoMessage

func (*Card_Display_AddOnCardInfo_TextVoteCard) ProtoReflect added in v1.1.1

func (*Card_Display_AddOnCardInfo_TextVoteCard) Reset

func (*Card_Display_AddOnCardInfo_TextVoteCard) String

type Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption

type Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption struct {
	BtnStr string `protobuf:"bytes,1,opt,name=btn_str,json=btnStr,proto3" json:"btn_str,omitempty"`
	Cnt    int32  `protobuf:"varint,2,opt,name=cnt,proto3" json:"cnt,omitempty"`
	Desc   string `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty"`
	Idx    int32  `protobuf:"varint,4,opt,name=idx,proto3" json:"idx,omitempty"`
	Title  string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"`
	ImgUrl string `protobuf:"bytes,6,opt,name=img_url,json=imgUrl,proto3" json:"img_url,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption) Descriptor deprecated

Deprecated: Use Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption.ProtoReflect.Descriptor instead.

func (*Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption) GetBtnStr

func (*Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption) GetCnt

func (*Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption) GetDesc

func (*Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption) GetIdx

func (*Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption) GetImgUrl added in v1.0.1

func (*Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption) GetTitle

func (*Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption) ProtoMessage

func (*Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption) ProtoReflect added in v1.1.1

func (*Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption) Reset

func (*Card_Display_AddOnCardInfo_TextVoteCard_TextVoteOption) String

type Card_Display_AddOnCardInfo_UgcAttachCard

type Card_Display_AddOnCardInfo_UgcAttachCard struct {
	Type       string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // ugc
	HeadText   string `protobuf:"bytes,2,opt,name=head_text,json=headText,proto3" json:"head_text,omitempty"`
	Title      string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	ImageUrl   string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
	DescSecond string `protobuf:"bytes,5,opt,name=desc_second,json=descSecond,proto3" json:"desc_second,omitempty"`
	PlayUrl    string `protobuf:"bytes,6,opt,name=play_url,json=playUrl,proto3" json:"play_url,omitempty"`
	Duration   string `protobuf:"bytes,7,opt,name=duration,proto3" json:"duration,omitempty"`
	MultiLine  bool   `protobuf:"varint,8,opt,name=multi_line,json=multiLine,proto3" json:"multi_line,omitempty"`
	OidStr     string `protobuf:"bytes,9,opt,name=oid_str,json=oidStr,proto3" json:"oid_str,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Display_AddOnCardInfo_UgcAttachCard) Descriptor deprecated

func (*Card_Display_AddOnCardInfo_UgcAttachCard) Descriptor() ([]byte, []int)

Deprecated: Use Card_Display_AddOnCardInfo_UgcAttachCard.ProtoReflect.Descriptor instead.

func (*Card_Display_AddOnCardInfo_UgcAttachCard) GetDescSecond

func (*Card_Display_AddOnCardInfo_UgcAttachCard) GetDuration

func (*Card_Display_AddOnCardInfo_UgcAttachCard) GetHeadText

func (*Card_Display_AddOnCardInfo_UgcAttachCard) GetImageUrl

func (*Card_Display_AddOnCardInfo_UgcAttachCard) GetMultiLine

func (*Card_Display_AddOnCardInfo_UgcAttachCard) GetOidStr

func (*Card_Display_AddOnCardInfo_UgcAttachCard) GetPlayUrl

func (*Card_Display_AddOnCardInfo_UgcAttachCard) GetTitle

func (*Card_Display_AddOnCardInfo_UgcAttachCard) GetType

func (*Card_Display_AddOnCardInfo_UgcAttachCard) ProtoMessage

func (*Card_Display_AddOnCardInfo_UgcAttachCard) ProtoReflect added in v1.1.1

func (*Card_Display_AddOnCardInfo_UgcAttachCard) Reset

func (*Card_Display_AddOnCardInfo_UgcAttachCard) String

type Card_Display_EmojiInfo

type Card_Display_EmojiInfo struct {
	EmojiDetails []*Card_Display_EmojiInfo_EmojiDetail `protobuf:"bytes,1,rep,name=emoji_details,json=emojiDetails,proto3" json:"emoji_details,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Display_EmojiInfo) Descriptor deprecated

func (*Card_Display_EmojiInfo) Descriptor() ([]byte, []int)

Deprecated: Use Card_Display_EmojiInfo.ProtoReflect.Descriptor instead.

func (*Card_Display_EmojiInfo) GetEmojiDetails

func (*Card_Display_EmojiInfo) ProtoMessage

func (*Card_Display_EmojiInfo) ProtoMessage()

func (*Card_Display_EmojiInfo) ProtoReflect added in v1.1.1

func (x *Card_Display_EmojiInfo) ProtoReflect() protoreflect.Message

func (*Card_Display_EmojiInfo) Reset

func (x *Card_Display_EmojiInfo) Reset()

func (*Card_Display_EmojiInfo) String

func (x *Card_Display_EmojiInfo) String() string

type Card_Display_EmojiInfo_EmojiDetail

type Card_Display_EmojiInfo_EmojiDetail struct {
	EmojiName string                                   `protobuf:"bytes,1,opt,name=emoji_name,json=emojiName,proto3" json:"emoji_name,omitempty"`
	Id        int32                                    `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	PackageId int32                                    `protobuf:"varint,3,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"`
	State     int32                                    `protobuf:"varint,4,opt,name=state,proto3" json:"state,omitempty"`
	Type      int32                                    `protobuf:"varint,5,opt,name=type,proto3" json:"type,omitempty"`
	Text      string                                   `protobuf:"bytes,6,opt,name=text,proto3" json:"text,omitempty"`
	Url       string                                   `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"`
	Meta      *Card_Display_EmojiInfo_EmojiDetail_Meta `protobuf:"bytes,8,opt,name=meta,proto3" json:"meta,omitempty"`
	Mtime     int64                                    `protobuf:"varint,9,opt,name=mtime,proto3" json:"mtime,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Display_EmojiInfo_EmojiDetail) Descriptor deprecated

func (*Card_Display_EmojiInfo_EmojiDetail) Descriptor() ([]byte, []int)

Deprecated: Use Card_Display_EmojiInfo_EmojiDetail.ProtoReflect.Descriptor instead.

func (*Card_Display_EmojiInfo_EmojiDetail) GetEmojiName

func (x *Card_Display_EmojiInfo_EmojiDetail) GetEmojiName() string

func (*Card_Display_EmojiInfo_EmojiDetail) GetId

func (*Card_Display_EmojiInfo_EmojiDetail) GetMeta added in v0.0.9

func (*Card_Display_EmojiInfo_EmojiDetail) GetMtime added in v0.0.9

func (*Card_Display_EmojiInfo_EmojiDetail) GetPackageId

func (x *Card_Display_EmojiInfo_EmojiDetail) GetPackageId() int32

func (*Card_Display_EmojiInfo_EmojiDetail) GetState

func (*Card_Display_EmojiInfo_EmojiDetail) GetText

func (*Card_Display_EmojiInfo_EmojiDetail) GetType

func (*Card_Display_EmojiInfo_EmojiDetail) GetUrl

func (*Card_Display_EmojiInfo_EmojiDetail) ProtoMessage

func (*Card_Display_EmojiInfo_EmojiDetail) ProtoMessage()

func (*Card_Display_EmojiInfo_EmojiDetail) ProtoReflect added in v1.1.1

func (*Card_Display_EmojiInfo_EmojiDetail) Reset

func (*Card_Display_EmojiInfo_EmojiDetail) String

type Card_Display_EmojiInfo_EmojiDetail_Meta added in v0.0.9

type Card_Display_EmojiInfo_EmojiDetail_Meta struct {
	Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Display_EmojiInfo_EmojiDetail_Meta) Descriptor deprecated added in v0.0.9

func (*Card_Display_EmojiInfo_EmojiDetail_Meta) Descriptor() ([]byte, []int)

Deprecated: Use Card_Display_EmojiInfo_EmojiDetail_Meta.ProtoReflect.Descriptor instead.

func (*Card_Display_EmojiInfo_EmojiDetail_Meta) GetSize added in v0.0.9

func (*Card_Display_EmojiInfo_EmojiDetail_Meta) ProtoMessage added in v0.0.9

func (*Card_Display_EmojiInfo_EmojiDetail_Meta) ProtoReflect added in v1.1.1

func (*Card_Display_EmojiInfo_EmojiDetail_Meta) Reset added in v0.0.9

func (*Card_Display_EmojiInfo_EmojiDetail_Meta) String added in v0.0.9

type Card_Display_LikeInfo

type Card_Display_LikeInfo struct {
	DisplayText string                            `protobuf:"bytes,1,opt,name=display_text,json=displayText,proto3" json:"display_text,omitempty"`
	LikeUsers   []*Card_Display_LikeInfo_LikeUser `protobuf:"bytes,2,rep,name=like_users,json=likeUsers,proto3" json:"like_users,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Display_LikeInfo) Descriptor deprecated

func (*Card_Display_LikeInfo) Descriptor() ([]byte, []int)

Deprecated: Use Card_Display_LikeInfo.ProtoReflect.Descriptor instead.

func (*Card_Display_LikeInfo) GetDisplayText

func (x *Card_Display_LikeInfo) GetDisplayText() string

func (*Card_Display_LikeInfo) GetLikeUsers

func (*Card_Display_LikeInfo) ProtoMessage

func (*Card_Display_LikeInfo) ProtoMessage()

func (*Card_Display_LikeInfo) ProtoReflect added in v1.1.1

func (x *Card_Display_LikeInfo) ProtoReflect() protoreflect.Message

func (*Card_Display_LikeInfo) Reset

func (x *Card_Display_LikeInfo) Reset()

func (*Card_Display_LikeInfo) String

func (x *Card_Display_LikeInfo) String() string

type Card_Display_LikeInfo_LikeUser

type Card_Display_LikeInfo_LikeUser struct {
	Uid  int64  `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Display_LikeInfo_LikeUser) Descriptor deprecated

func (*Card_Display_LikeInfo_LikeUser) Descriptor() ([]byte, []int)

Deprecated: Use Card_Display_LikeInfo_LikeUser.ProtoReflect.Descriptor instead.

func (*Card_Display_LikeInfo_LikeUser) GetName

func (*Card_Display_LikeInfo_LikeUser) GetUid

func (*Card_Display_LikeInfo_LikeUser) ProtoMessage

func (*Card_Display_LikeInfo_LikeUser) ProtoMessage()

func (*Card_Display_LikeInfo_LikeUser) ProtoReflect added in v1.1.1

func (*Card_Display_LikeInfo_LikeUser) Reset

func (x *Card_Display_LikeInfo_LikeUser) Reset()

func (*Card_Display_LikeInfo_LikeUser) String

type Card_Display_Origin

type Card_Display_Origin struct {
	EmojiInfo     *Card_Display_EmojiInfo       `protobuf:"bytes,1,opt,name=emoji_info,json=emojiInfo,proto3" json:"emoji_info,omitempty"`
	LikeInfo      *Card_Display_LikeInfo        `protobuf:"bytes,2,opt,name=like_info,json=likeInfo,proto3" json:"like_info,omitempty"`
	Origin        *Card_Display_Origin          `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin,omitempty"`
	AddOnCardInfo []*Card_Display_AddOnCardInfo `protobuf:"bytes,4,rep,name=add_on_card_info,json=addOnCardInfo,proto3" json:"add_on_card_info,omitempty"`
	UsrActionTxt  string                        `protobuf:"bytes,5,opt,name=usr_action_txt,json=usrActionTxt,proto3" json:"usr_action_txt,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Display_Origin) Descriptor deprecated

func (*Card_Display_Origin) Descriptor() ([]byte, []int)

Deprecated: Use Card_Display_Origin.ProtoReflect.Descriptor instead.

func (*Card_Display_Origin) GetAddOnCardInfo

func (x *Card_Display_Origin) GetAddOnCardInfo() []*Card_Display_AddOnCardInfo

func (*Card_Display_Origin) GetEmojiInfo

func (x *Card_Display_Origin) GetEmojiInfo() *Card_Display_EmojiInfo

func (*Card_Display_Origin) GetLikeInfo

func (x *Card_Display_Origin) GetLikeInfo() *Card_Display_LikeInfo

func (*Card_Display_Origin) GetOrigin

func (x *Card_Display_Origin) GetOrigin() *Card_Display_Origin

func (*Card_Display_Origin) GetUsrActionTxt

func (x *Card_Display_Origin) GetUsrActionTxt() string

func (*Card_Display_Origin) ProtoMessage

func (*Card_Display_Origin) ProtoMessage()

func (*Card_Display_Origin) ProtoReflect added in v1.1.1

func (x *Card_Display_Origin) ProtoReflect() protoreflect.Message

func (*Card_Display_Origin) Reset

func (x *Card_Display_Origin) Reset()

func (*Card_Display_Origin) String

func (x *Card_Display_Origin) String() string

type Card_Extra

type Card_Extra struct {
	IsSpaceTop int32 `protobuf:"varint,1,opt,name=is_space_top,json=isSpaceTop,proto3" json:"is_space_top,omitempty"`
	// contains filtered or unexported fields
}

func (*Card_Extra) Descriptor deprecated

func (*Card_Extra) Descriptor() ([]byte, []int)

Deprecated: Use Card_Extra.ProtoReflect.Descriptor instead.

func (*Card_Extra) GetIsSpaceTop

func (x *Card_Extra) GetIsSpaceTop() int32

func (*Card_Extra) ProtoMessage

func (*Card_Extra) ProtoMessage()

func (*Card_Extra) ProtoReflect added in v1.1.1

func (x *Card_Extra) ProtoReflect() protoreflect.Message

func (*Card_Extra) Reset

func (x *Card_Extra) Reset()

func (*Card_Extra) String

func (x *Card_Extra) String() string

type Concern

type Concern struct {
	*StateManager
	// contains filtered or unexported fields
}

func NewConcern

func NewConcern(notify chan<- concern.Notify) *Concern

func (Concern) ActiveTimestampKey added in v1.0.5

func (k Concern) ActiveTimestampKey(keys ...interface{}) string

func (*Concern) Add

func (c *Concern) Add(ctx mmsg.IMsgCtx,
	groupCode int64, _id interface{}, ctype concern_type.Type) (concern.IdentityInfo, error)

func (Concern) CompactMarkKey added in v1.0.0

func (k Concern) CompactMarkKey(keys ...interface{}) string

func (Concern) CurrentLiveKey

func (k Concern) CurrentLiveKey(keys ...interface{}) string

func (Concern) CurrentNewsKey

func (k Concern) CurrentNewsKey(keys ...interface{}) string

func (Concern) DynamicIdKey

func (k Concern) DynamicIdKey(keys ...interface{}) string

func (*Concern) FindOrLoadUser added in v0.0.9

func (c *Concern) FindOrLoadUser(mid int64) (*UserInfo, error)

func (*Concern) FindUser added in v0.0.9

func (c *Concern) FindUser(mid int64, load bool) (*UserInfo, error)

func (*Concern) FindUserLiving added in v0.0.9

func (c *Concern) FindUserLiving(mid int64, load bool) (*LiveInfo, error)

func (*Concern) FindUserNews added in v0.0.9

func (c *Concern) FindUserNews(mid int64, load bool) (*NewsInfo, error)

func (*Concern) Get added in v1.0.0

func (c *Concern) Get(id interface{}) (concern.IdentityInfo, error)

func (*Concern) GetStateManager added in v1.0.0

func (c *Concern) GetStateManager() concern.IStateManager

func (*Concern) GroupWatchNotify added in v0.0.9

func (c *Concern) GroupWatchNotify(groupCode, mid int64)

func (Concern) LastFreshKey added in v1.0.0

func (k Concern) LastFreshKey(keys ...interface{}) string

func (*Concern) ModifyUserRelation added in v0.0.9

func (c *Concern) ModifyUserRelation(mid int64, act int) (*RelationModifyResponse, error)

func (Concern) NotLiveKey added in v0.0.7

func (k Concern) NotLiveKey(keys ...interface{}) string

func (Concern) NotifyMsgKey added in v1.0.0

func (k Concern) NotifyMsgKey(keys ...interface{}) string

func (*Concern) ParseId added in v1.0.0

func (c *Concern) ParseId(s string) (interface{}, error)

func (*Concern) Remove

func (c *Concern) Remove(ctx mmsg.IMsgCtx,
	groupCode int64, id interface{}, ctype concern_type.Type) (concern.IdentityInfo, error)

func (*Concern) RemoveAllByGroupCode added in v0.1.4

func (c *Concern) RemoveAllByGroupCode(groupCode int64) ([]string, error)

func (*Concern) Site added in v1.0.0

func (c *Concern) Site() string

func (*Concern) Start

func (c *Concern) Start() error

func (*Concern) StatUserWithCache added in v0.0.19

func (c *Concern) StatUserWithCache(mid int64, expire time.Duration) (*UserStat, error)

func (*Concern) Stop

func (c *Concern) Stop()

func (*Concern) SyncSub added in v0.1.1

func (c *Concern) SyncSub()

func (*Concern) Types added in v1.0.0

func (c *Concern) Types() []concern_type.Type

func (Concern) UidFirstTimestamp added in v0.0.6

func (k Concern) UidFirstTimestamp(keys ...interface{}) string

func (Concern) UserInfoKey

func (k Concern) UserInfoKey(keys ...interface{}) string

func (Concern) UserStatKey added in v0.0.19

func (k Concern) UserStatKey(keys ...interface{}) string

type ConcernLiveNotify

type ConcernLiveNotify struct {
	GroupCode int64 `json:"group_code"`
	*LiveInfo
}

func NewConcernLiveNotify

func NewConcernLiveNotify(groupCode int64, liveInfo *LiveInfo) *ConcernLiveNotify

func (*ConcernLiveNotify) GetGroupCode added in v0.0.10

func (notify *ConcernLiveNotify) GetGroupCode() int64

func (*ConcernLiveNotify) Logger added in v0.0.17

func (notify *ConcernLiveNotify) Logger() *logrus.Entry

func (*ConcernLiveNotify) ToMessage added in v0.0.10

func (notify *ConcernLiveNotify) ToMessage() (m *mmsg.MSG)

type ConcernNewsNotify

type ConcernNewsNotify struct {
	GroupCode int64 `json:"group_code"`
	*UserInfo
	Card *CacheCard
	// contains filtered or unexported fields
}

func NewConcernNewsNotify

func NewConcernNewsNotify(groupCode int64, newsInfo *NewsInfo, c *Concern) []*ConcernNewsNotify

func (*ConcernNewsNotify) GetGroupCode added in v0.0.10

func (notify *ConcernNewsNotify) GetGroupCode() int64

func (*ConcernNewsNotify) GetUid added in v0.0.10

func (notify *ConcernNewsNotify) GetUid() interface{}

func (*ConcernNewsNotify) IsLive added in v1.0.0

func (notify *ConcernNewsNotify) IsLive() bool

func (*ConcernNewsNotify) Living added in v1.0.0

func (notify *ConcernNewsNotify) Living() bool

func (*ConcernNewsNotify) Logger added in v0.0.17

func (notify *ConcernNewsNotify) Logger() *logrus.Entry

func (*ConcernNewsNotify) Site added in v1.0.0

func (notify *ConcernNewsNotify) Site() string

func (*ConcernNewsNotify) ToMessage added in v0.0.10

func (notify *ConcernNewsNotify) ToMessage() (m *mmsg.MSG)

func (*ConcernNewsNotify) Type

func (notify *ConcernNewsNotify) Type() concern_type.Type

type DynamicDescType

type DynamicDescType int32
const (
	DynamicDescType_DynamicDescTypeUnknown DynamicDescType = 0
	DynamicDescType_WithOrigin             DynamicDescType = 1
	DynamicDescType_WithImage              DynamicDescType = 2
	DynamicDescType_TextOnly               DynamicDescType = 4
	DynamicDescType_WithVideo              DynamicDescType = 8
	DynamicDescType_WithPost               DynamicDescType = 64
	DynamicDescType_WithMusic              DynamicDescType = 256
	DynamicDescType_WithAnime              DynamicDescType = 512
	// 该内容已经不见了哦
	DynamicDescType_WithMiss DynamicDescType = 1024
	// 评分、头像挂件,这种动态下面有一个小卡片的
	DynamicDescType_WithSketch DynamicDescType = 2048
	DynamicDescType_WithMovie  DynamicDescType = 4098
	// 电视剧、综艺
	DynamicDescType_WithDrama DynamicDescType = 4099
	// 4100去哪了捏
	DynamicDescType_WithDocumentary DynamicDescType = 4101
	DynamicDescType_WithLive        DynamicDescType = 4200
	// XXX的收藏夹,收藏夹居然也可以发动态?
	DynamicDescType_WithMylist DynamicDescType = 4300
	// (付费?)课程
	DynamicDescType_WithCourse DynamicDescType = 4302
	DynamicDescType_WithLiveV2 DynamicDescType = 4308
)

func (DynamicDescType) Descriptor added in v1.1.1

func (DynamicDescType) Enum added in v1.1.1

func (x DynamicDescType) Enum() *DynamicDescType

func (DynamicDescType) EnumDescriptor deprecated

func (DynamicDescType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DynamicDescType.Descriptor instead.

func (DynamicDescType) Number added in v1.1.1

func (DynamicDescType) String

func (x DynamicDescType) String() string

func (DynamicDescType) Type added in v1.1.1

type DynamicSrvDynamicHistoryRequest added in v1.0.0

type DynamicSrvDynamicHistoryRequest struct {
	OffsetDynamicId string `json:"offset_dynamic_id"`
	TypeList        string `json:"type_list"`
}

type DynamicSrvDynamicNewRequest

type DynamicSrvDynamicNewRequest struct {
	Platform string `json:"platform"`
	From     string `json:"from"`
	TypeList string `json:"type_list"`
}

type DynamicSrvSpaceHistoryRequest

type DynamicSrvSpaceHistoryRequest struct {
	OffsetDynamicId int64 `json:"offset_dynamic_id"`
	HostUid         int64 `json:"host_uid"`
	NeedTop         int32 `json:"need_top"`
}

type DynamicSvrDynamicHistoryResponse added in v1.0.0

type DynamicSvrDynamicHistoryResponse struct {
	Code    int32                                  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string                                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Data    *DynamicSvrDynamicHistoryResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func DynamicSvrDynamicHistory added in v1.0.0

func DynamicSvrDynamicHistory(offsetDynamicId string) (*DynamicSvrDynamicHistoryResponse, error)

func (*DynamicSvrDynamicHistoryResponse) Descriptor deprecated added in v1.0.0

func (*DynamicSvrDynamicHistoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use DynamicSvrDynamicHistoryResponse.ProtoReflect.Descriptor instead.

func (*DynamicSvrDynamicHistoryResponse) GetCode added in v1.0.0

func (*DynamicSvrDynamicHistoryResponse) GetData added in v1.0.0

func (*DynamicSvrDynamicHistoryResponse) GetMessage added in v1.0.0

func (x *DynamicSvrDynamicHistoryResponse) GetMessage() string

func (*DynamicSvrDynamicHistoryResponse) ProtoMessage added in v1.0.0

func (*DynamicSvrDynamicHistoryResponse) ProtoMessage()

func (*DynamicSvrDynamicHistoryResponse) ProtoReflect added in v1.1.1

func (*DynamicSvrDynamicHistoryResponse) Reset added in v1.0.0

func (*DynamicSvrDynamicHistoryResponse) String added in v1.0.0

type DynamicSvrDynamicHistoryResponse_Data added in v1.0.0

type DynamicSvrDynamicHistoryResponse_Data struct {
	Cards      []*Card `protobuf:"bytes,1,rep,name=cards,proto3" json:"cards,omitempty"`
	HasMore    int32   `protobuf:"varint,2,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
	NextOffset int64   `protobuf:"varint,3,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
	// contains filtered or unexported fields
}

func (*DynamicSvrDynamicHistoryResponse_Data) Descriptor deprecated added in v1.0.0

func (*DynamicSvrDynamicHistoryResponse_Data) Descriptor() ([]byte, []int)

Deprecated: Use DynamicSvrDynamicHistoryResponse_Data.ProtoReflect.Descriptor instead.

func (*DynamicSvrDynamicHistoryResponse_Data) GetCards added in v1.0.0

func (*DynamicSvrDynamicHistoryResponse_Data) GetHasMore added in v1.0.0

func (*DynamicSvrDynamicHistoryResponse_Data) GetNextOffset added in v1.0.0

func (x *DynamicSvrDynamicHistoryResponse_Data) GetNextOffset() int64

func (*DynamicSvrDynamicHistoryResponse_Data) ProtoMessage added in v1.0.0

func (*DynamicSvrDynamicHistoryResponse_Data) ProtoMessage()

func (*DynamicSvrDynamicHistoryResponse_Data) ProtoReflect added in v1.1.1

func (*DynamicSvrDynamicHistoryResponse_Data) Reset added in v1.0.0

func (*DynamicSvrDynamicHistoryResponse_Data) String added in v1.0.0

type DynamicSvrDynamicNewResponse

type DynamicSvrDynamicNewResponse struct {
	Code    int32                              `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string                             `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Data    *DynamicSvrDynamicNewResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func DynamicSvrDynamicNew added in v1.0.0

func DynamicSvrDynamicNew() (*DynamicSvrDynamicNewResponse, error)

func (*DynamicSvrDynamicNewResponse) Descriptor deprecated

func (*DynamicSvrDynamicNewResponse) Descriptor() ([]byte, []int)

Deprecated: Use DynamicSvrDynamicNewResponse.ProtoReflect.Descriptor instead.

func (*DynamicSvrDynamicNewResponse) GetCode

func (x *DynamicSvrDynamicNewResponse) GetCode() int32

func (*DynamicSvrDynamicNewResponse) GetData

func (*DynamicSvrDynamicNewResponse) GetMessage

func (x *DynamicSvrDynamicNewResponse) GetMessage() string

func (*DynamicSvrDynamicNewResponse) ProtoMessage

func (*DynamicSvrDynamicNewResponse) ProtoMessage()

func (*DynamicSvrDynamicNewResponse) ProtoReflect added in v1.1.1

func (*DynamicSvrDynamicNewResponse) Reset

func (x *DynamicSvrDynamicNewResponse) Reset()

func (*DynamicSvrDynamicNewResponse) String

type DynamicSvrDynamicNewResponse_Data

type DynamicSvrDynamicNewResponse_Data struct {
	NewNum        int32   `protobuf:"varint,1,opt,name=new_num,json=newNum,proto3" json:"new_num,omitempty"`
	ExistGap      int32   `protobuf:"varint,2,opt,name=exist_gap,json=existGap,proto3" json:"exist_gap,omitempty"`
	UpdateNum     int32   `protobuf:"varint,3,opt,name=update_num,json=updateNum,proto3" json:"update_num,omitempty"`
	OpenRcmd      int32   `protobuf:"varint,4,opt,name=open_rcmd,json=openRcmd,proto3" json:"open_rcmd,omitempty"`
	Cards         []*Card `protobuf:"bytes,5,rep,name=cards,proto3" json:"cards,omitempty"`
	MaxDynamicId  int64   `protobuf:"varint,6,opt,name=max_dynamic_id,json=maxDynamicId,proto3" json:"max_dynamic_id,omitempty"`
	HistoryOffset int64   `protobuf:"varint,7,opt,name=history_offset,json=historyOffset,proto3" json:"history_offset,omitempty"`
	// contains filtered or unexported fields
}

func (*DynamicSvrDynamicNewResponse_Data) Descriptor deprecated

func (*DynamicSvrDynamicNewResponse_Data) Descriptor() ([]byte, []int)

Deprecated: Use DynamicSvrDynamicNewResponse_Data.ProtoReflect.Descriptor instead.

func (*DynamicSvrDynamicNewResponse_Data) GetCards

func (x *DynamicSvrDynamicNewResponse_Data) GetCards() []*Card

func (*DynamicSvrDynamicNewResponse_Data) GetExistGap

func (x *DynamicSvrDynamicNewResponse_Data) GetExistGap() int32

func (*DynamicSvrDynamicNewResponse_Data) GetHistoryOffset

func (x *DynamicSvrDynamicNewResponse_Data) GetHistoryOffset() int64

func (*DynamicSvrDynamicNewResponse_Data) GetMaxDynamicId

func (x *DynamicSvrDynamicNewResponse_Data) GetMaxDynamicId() int64

func (*DynamicSvrDynamicNewResponse_Data) GetNewNum

func (*DynamicSvrDynamicNewResponse_Data) GetOpenRcmd

func (x *DynamicSvrDynamicNewResponse_Data) GetOpenRcmd() int32

func (*DynamicSvrDynamicNewResponse_Data) GetUpdateNum

func (x *DynamicSvrDynamicNewResponse_Data) GetUpdateNum() int32

func (*DynamicSvrDynamicNewResponse_Data) ProtoMessage

func (*DynamicSvrDynamicNewResponse_Data) ProtoMessage()

func (*DynamicSvrDynamicNewResponse_Data) ProtoReflect added in v1.1.1

func (*DynamicSvrDynamicNewResponse_Data) Reset

func (*DynamicSvrDynamicNewResponse_Data) String

type DynamicSvrSpaceHistoryResponse

type DynamicSvrSpaceHistoryResponse struct {
	Code    int32                                `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string                               `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Data    *DynamicSvrSpaceHistoryResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func DynamicSrvSpaceHistory

func DynamicSrvSpaceHistory(hostUid int64) (*DynamicSvrSpaceHistoryResponse, error)

func (*DynamicSvrSpaceHistoryResponse) Descriptor deprecated

func (*DynamicSvrSpaceHistoryResponse) Descriptor() ([]byte, []int)

Deprecated: Use DynamicSvrSpaceHistoryResponse.ProtoReflect.Descriptor instead.

func (*DynamicSvrSpaceHistoryResponse) GetCode

func (*DynamicSvrSpaceHistoryResponse) GetData

func (*DynamicSvrSpaceHistoryResponse) GetMessage

func (x *DynamicSvrSpaceHistoryResponse) GetMessage() string

func (*DynamicSvrSpaceHistoryResponse) ProtoMessage

func (*DynamicSvrSpaceHistoryResponse) ProtoMessage()

func (*DynamicSvrSpaceHistoryResponse) ProtoReflect added in v1.1.1

func (*DynamicSvrSpaceHistoryResponse) Reset

func (x *DynamicSvrSpaceHistoryResponse) Reset()

func (*DynamicSvrSpaceHistoryResponse) String

type DynamicSvrSpaceHistoryResponse_Data

type DynamicSvrSpaceHistoryResponse_Data struct {
	Cards      []*Card `protobuf:"bytes,1,rep,name=cards,proto3" json:"cards,omitempty"`
	HasMore    int32   `protobuf:"varint,2,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
	NextOffset int64   `protobuf:"varint,3,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"`
	// contains filtered or unexported fields
}

func (*DynamicSvrSpaceHistoryResponse_Data) Descriptor deprecated

func (*DynamicSvrSpaceHistoryResponse_Data) Descriptor() ([]byte, []int)

Deprecated: Use DynamicSvrSpaceHistoryResponse_Data.ProtoReflect.Descriptor instead.

func (*DynamicSvrSpaceHistoryResponse_Data) GetCards

func (x *DynamicSvrSpaceHistoryResponse_Data) GetCards() []*Card

func (*DynamicSvrSpaceHistoryResponse_Data) GetHasMore

func (*DynamicSvrSpaceHistoryResponse_Data) GetNextOffset

func (x *DynamicSvrSpaceHistoryResponse_Data) GetNextOffset() int64

func (*DynamicSvrSpaceHistoryResponse_Data) ProtoMessage

func (*DynamicSvrSpaceHistoryResponse_Data) ProtoMessage()

func (*DynamicSvrSpaceHistoryResponse_Data) ProtoReflect added in v1.1.1

func (*DynamicSvrSpaceHistoryResponse_Data) Reset

func (*DynamicSvrSpaceHistoryResponse_Data) String

type FeedListResponse

type FeedListResponse struct {
	Code    int32                  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Data    *FeedListResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func FeedList

func FeedList(opt ...FeedOpt) (*FeedListResponse, error)

func (*FeedListResponse) Descriptor deprecated

func (*FeedListResponse) Descriptor() ([]byte, []int)

Deprecated: Use FeedListResponse.ProtoReflect.Descriptor instead.

func (*FeedListResponse) GetCode

func (x *FeedListResponse) GetCode() int32

func (*FeedListResponse) GetData

func (*FeedListResponse) GetMessage

func (x *FeedListResponse) GetMessage() string

func (*FeedListResponse) ProtoMessage

func (*FeedListResponse) ProtoMessage()

func (*FeedListResponse) ProtoReflect added in v1.1.1

func (x *FeedListResponse) ProtoReflect() protoreflect.Message

func (*FeedListResponse) Reset

func (x *FeedListResponse) Reset()

func (*FeedListResponse) String

func (x *FeedListResponse) String() string

type FeedListResponse_Data

type FeedListResponse_Data struct {
	Results  int32                             `protobuf:"varint,1,opt,name=results,proto3" json:"results,omitempty"`
	Page     string                            `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"`
	Pagesize string                            `protobuf:"bytes,3,opt,name=pagesize,proto3" json:"pagesize,omitempty"`
	List     []*FeedListResponse_Data_ListInfo `protobuf:"bytes,4,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedListResponse_Data) Descriptor deprecated

func (*FeedListResponse_Data) Descriptor() ([]byte, []int)

Deprecated: Use FeedListResponse_Data.ProtoReflect.Descriptor instead.

func (*FeedListResponse_Data) GetList

func (*FeedListResponse_Data) GetPage

func (x *FeedListResponse_Data) GetPage() string

func (*FeedListResponse_Data) GetPagesize

func (x *FeedListResponse_Data) GetPagesize() string

func (*FeedListResponse_Data) GetResults added in v0.1.3

func (x *FeedListResponse_Data) GetResults() int32

func (*FeedListResponse_Data) ProtoMessage

func (*FeedListResponse_Data) ProtoMessage()

func (*FeedListResponse_Data) ProtoReflect added in v1.1.1

func (x *FeedListResponse_Data) ProtoReflect() protoreflect.Message

func (*FeedListResponse_Data) Reset

func (x *FeedListResponse_Data) Reset()

func (*FeedListResponse_Data) String

func (x *FeedListResponse_Data) String() string

type FeedListResponse_Data_ListInfo

type FeedListResponse_Data_ListInfo struct {
	Cover        string `protobuf:"bytes,1,opt,name=cover,proto3" json:"cover,omitempty"`
	Face         string `protobuf:"bytes,2,opt,name=face,proto3" json:"face,omitempty"`
	Uname        string `protobuf:"bytes,3,opt,name=uname,proto3" json:"uname,omitempty"`
	Title        string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	Roomid       int64  `protobuf:"varint,5,opt,name=roomid,proto3" json:"roomid,omitempty"`
	Pic          string `protobuf:"bytes,6,opt,name=pic,proto3" json:"pic,omitempty"`
	Online       int64  `protobuf:"varint,7,opt,name=online,proto3" json:"online,omitempty"`
	Link         string `protobuf:"bytes,8,opt,name=link,proto3" json:"link,omitempty"`
	Uid          int64  `protobuf:"varint,9,opt,name=uid,proto3" json:"uid,omitempty"`
	ParentAreaId int64  `protobuf:"varint,10,opt,name=parent_area_id,json=parentAreaId,proto3" json:"parent_area_id,omitempty"`
	AreaId       int64  `protobuf:"varint,11,opt,name=area_id,json=areaId,proto3" json:"area_id,omitempty"`
	// contains filtered or unexported fields
}

func (*FeedListResponse_Data_ListInfo) Descriptor deprecated

func (*FeedListResponse_Data_ListInfo) Descriptor() ([]byte, []int)

Deprecated: Use FeedListResponse_Data_ListInfo.ProtoReflect.Descriptor instead.

func (*FeedListResponse_Data_ListInfo) GetAreaId

func (x *FeedListResponse_Data_ListInfo) GetAreaId() int64

func (*FeedListResponse_Data_ListInfo) GetCover

func (x *FeedListResponse_Data_ListInfo) GetCover() string

func (*FeedListResponse_Data_ListInfo) GetFace

func (*FeedListResponse_Data_ListInfo) GetOnline

func (x *FeedListResponse_Data_ListInfo) GetOnline() int64

func (*FeedListResponse_Data_ListInfo) GetParentAreaId

func (x *FeedListResponse_Data_ListInfo) GetParentAreaId() int64

func (*FeedListResponse_Data_ListInfo) GetPic

func (*FeedListResponse_Data_ListInfo) GetRoomid

func (x *FeedListResponse_Data_ListInfo) GetRoomid() int64

func (*FeedListResponse_Data_ListInfo) GetTitle

func (x *FeedListResponse_Data_ListInfo) GetTitle() string

func (*FeedListResponse_Data_ListInfo) GetUid

func (*FeedListResponse_Data_ListInfo) GetUname

func (x *FeedListResponse_Data_ListInfo) GetUname() string

func (*FeedListResponse_Data_ListInfo) ProtoMessage

func (*FeedListResponse_Data_ListInfo) ProtoMessage()

func (*FeedListResponse_Data_ListInfo) ProtoReflect added in v1.1.1

func (*FeedListResponse_Data_ListInfo) Reset

func (x *FeedListResponse_Data_ListInfo) Reset()

func (*FeedListResponse_Data_ListInfo) String

type FeedOpt

type FeedOpt func(map[string]int)

func FeedPageOpt

func FeedPageOpt(page int) FeedOpt

func FeedPageSizeOpt

func FeedPageSizeOpt(pageSize int) FeedOpt

type GetAttentionListResponse

type GetAttentionListResponse struct {
	Code    int32                          `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string                         `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Data    *GetAttentionListResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func GetAttentionList

func GetAttentionList() (*GetAttentionListResponse, error)

func (*GetAttentionListResponse) Descriptor deprecated

func (*GetAttentionListResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAttentionListResponse.ProtoReflect.Descriptor instead.

func (*GetAttentionListResponse) GetCode

func (x *GetAttentionListResponse) GetCode() int32

func (*GetAttentionListResponse) GetData

func (*GetAttentionListResponse) GetMessage

func (x *GetAttentionListResponse) GetMessage() string

func (*GetAttentionListResponse) ProtoMessage

func (*GetAttentionListResponse) ProtoMessage()

func (*GetAttentionListResponse) ProtoReflect added in v1.1.1

func (x *GetAttentionListResponse) ProtoReflect() protoreflect.Message

func (*GetAttentionListResponse) Reset

func (x *GetAttentionListResponse) Reset()

func (*GetAttentionListResponse) String

func (x *GetAttentionListResponse) String() string

type GetAttentionListResponse_Data

type GetAttentionListResponse_Data struct {
	List []int64 `protobuf:"varint,1,rep,packed,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAttentionListResponse_Data) Descriptor deprecated

func (*GetAttentionListResponse_Data) Descriptor() ([]byte, []int)

Deprecated: Use GetAttentionListResponse_Data.ProtoReflect.Descriptor instead.

func (*GetAttentionListResponse_Data) GetList

func (x *GetAttentionListResponse_Data) GetList() []int64

func (*GetAttentionListResponse_Data) ProtoMessage

func (*GetAttentionListResponse_Data) ProtoMessage()

func (*GetAttentionListResponse_Data) ProtoReflect added in v1.1.1

func (*GetAttentionListResponse_Data) Reset

func (x *GetAttentionListResponse_Data) Reset()

func (*GetAttentionListResponse_Data) String

type GetKeyRequest added in v0.0.17

type GetKeyRequest struct {
	Appkey string `protobuf:"bytes,1,opt,name=appkey,proto3" json:"appkey,omitempty"`
	Sign   string `protobuf:"bytes,2,opt,name=sign,proto3" json:"sign,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyRequest) Descriptor deprecated added in v0.0.17

func (*GetKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetKeyRequest.ProtoReflect.Descriptor instead.

func (*GetKeyRequest) GetAppkey added in v0.0.17

func (x *GetKeyRequest) GetAppkey() string

func (*GetKeyRequest) GetSign added in v0.0.17

func (x *GetKeyRequest) GetSign() string

func (*GetKeyRequest) ProtoMessage added in v0.0.17

func (*GetKeyRequest) ProtoMessage()

func (*GetKeyRequest) ProtoReflect added in v1.1.1

func (x *GetKeyRequest) ProtoReflect() protoreflect.Message

func (*GetKeyRequest) Reset added in v0.0.17

func (x *GetKeyRequest) Reset()

func (*GetKeyRequest) String added in v0.0.17

func (x *GetKeyRequest) String() string

type GetKeyResponse added in v0.0.17

type GetKeyResponse struct {
	Ts   int64                `protobuf:"varint,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Code int32                `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	Data *GetKeyResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func GetKey added in v0.0.17

func GetKey() (*GetKeyResponse, error)

func (*GetKeyResponse) Descriptor deprecated added in v0.0.17

func (*GetKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetKeyResponse.ProtoReflect.Descriptor instead.

func (*GetKeyResponse) GetCode added in v0.0.17

func (x *GetKeyResponse) GetCode() int32

func (*GetKeyResponse) GetData added in v0.0.17

func (x *GetKeyResponse) GetData() *GetKeyResponse_Data

func (*GetKeyResponse) GetTs added in v0.0.17

func (x *GetKeyResponse) GetTs() int64

func (*GetKeyResponse) ProtoMessage added in v0.0.17

func (*GetKeyResponse) ProtoMessage()

func (*GetKeyResponse) ProtoReflect added in v1.1.1

func (x *GetKeyResponse) ProtoReflect() protoreflect.Message

func (*GetKeyResponse) Reset added in v0.0.17

func (x *GetKeyResponse) Reset()

func (*GetKeyResponse) String added in v0.0.17

func (x *GetKeyResponse) String() string

type GetKeyResponse_Data added in v0.0.17

type GetKeyResponse_Data struct {
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Key  string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyResponse_Data) Descriptor deprecated added in v0.0.17

func (*GetKeyResponse_Data) Descriptor() ([]byte, []int)

Deprecated: Use GetKeyResponse_Data.ProtoReflect.Descriptor instead.

func (*GetKeyResponse_Data) GetHash added in v0.0.17

func (x *GetKeyResponse_Data) GetHash() string

func (*GetKeyResponse_Data) GetKey added in v0.0.17

func (x *GetKeyResponse_Data) GetKey() string

func (*GetKeyResponse_Data) ProtoMessage added in v0.0.17

func (*GetKeyResponse_Data) ProtoMessage()

func (*GetKeyResponse_Data) ProtoReflect added in v1.1.1

func (x *GetKeyResponse_Data) ProtoReflect() protoreflect.Message

func (*GetKeyResponse_Data) Reset added in v0.0.17

func (x *GetKeyResponse_Data) Reset()

func (*GetKeyResponse_Data) String added in v0.0.17

func (x *GetKeyResponse_Data) String() string

type GroupConcernConfig added in v0.0.13

type GroupConcernConfig struct {
	concern.IConfig
	// contains filtered or unexported fields
}

func NewGroupConcernConfig added in v0.0.13

func NewGroupConcernConfig(g concern.IConfig, c *Concern) *GroupConcernConfig

func (*GroupConcernConfig) AtBeforeHook added in v0.0.13

func (g *GroupConcernConfig) AtBeforeHook(notify concern.Notify) (hook *concern.HookResult)

func (*GroupConcernConfig) FilterHook added in v1.0.0

func (g *GroupConcernConfig) FilterHook(notify concern.Notify) (hook *concern.HookResult)

func (*GroupConcernConfig) NotifyAfterCallback added in v1.0.0

func (g *GroupConcernConfig) NotifyAfterCallback(inotify concern.Notify, msg *message.GroupMessage)

func (*GroupConcernConfig) NotifyBeforeCallback added in v0.0.20

func (g *GroupConcernConfig) NotifyBeforeCallback(inotify concern.Notify)

func (*GroupConcernConfig) Validate added in v1.0.0

func (g *GroupConcernConfig) Validate() error

type ICode added in v1.0.0

type ICode interface {
	GetCode() int32
}

type LiveInfo

type LiveInfo struct {
	UserInfo
	Status    LiveStatus `json:"status"`
	LiveTitle string     `json:"live_title"`
	Cover     string     `json:"cover"`
	// contains filtered or unexported fields
}

func NewLiveInfo

func NewLiveInfo(userInfo *UserInfo, liveTitle string, cover string, status LiveStatus) *LiveInfo

func (*LiveInfo) GetMSG added in v1.0.1

func (l *LiveInfo) GetMSG() *mmsg.MSG

func (*LiveInfo) IsLive added in v1.0.0

func (l *LiveInfo) IsLive() bool

func (*LiveInfo) LiveStatusChanged added in v0.0.12

func (l *LiveInfo) LiveStatusChanged() bool

func (*LiveInfo) Living added in v0.0.13

func (l *LiveInfo) Living() bool

func (*LiveInfo) Logger added in v0.0.20

func (l *LiveInfo) Logger() *logrus.Entry

func (*LiveInfo) Site added in v1.0.0

func (l *LiveInfo) Site() string

func (*LiveInfo) TitleChanged added in v1.0.0

func (l *LiveInfo) TitleChanged() bool

func (*LiveInfo) Type

func (l *LiveInfo) Type() concern_type.Type

type LiveStatus

type LiveStatus int32
const (
	LiveStatus_NoLiving LiveStatus = 0
	LiveStatus_Living   LiveStatus = 1
)

func (LiveStatus) Descriptor added in v1.1.1

func (LiveStatus) Descriptor() protoreflect.EnumDescriptor

func (LiveStatus) Enum added in v1.1.1

func (x LiveStatus) Enum() *LiveStatus

func (LiveStatus) EnumDescriptor deprecated

func (LiveStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use LiveStatus.Descriptor instead.

func (LiveStatus) Number added in v1.1.1

func (x LiveStatus) Number() protoreflect.EnumNumber

func (LiveStatus) String

func (x LiveStatus) String() string

func (LiveStatus) Type added in v1.1.1

type LoginRequest added in v0.0.17

type LoginRequest struct {
	Appkey string `protobuf:"bytes,1,opt,name=appkey,proto3" json:"appkey,omitempty"`
	Build  int32  `protobuf:"varint,2,opt,name=build,proto3" json:"build,omitempty"`
	// string captcha = 3;
	// string challenge = 4;
	Channel string `protobuf:"bytes,5,opt,name=channel,proto3" json:"channel,omitempty"`
	Device  string `protobuf:"bytes,6,opt,name=device,proto3" json:"device,omitempty"`
	// string mobi_app = 7;
	Password   string `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"`
	Permission string `protobuf:"bytes,9,opt,name=permission,proto3" json:"permission,omitempty"`
	Platform   string `protobuf:"bytes,10,opt,name=platform,proto3" json:"platform,omitempty"`
	// string seccode = 11;
	Subid    int32  `protobuf:"varint,12,opt,name=subid,proto3" json:"subid,omitempty"`
	Ts       int32  `protobuf:"varint,13,opt,name=ts,proto3" json:"ts,omitempty"`
	Username string `protobuf:"bytes,14,opt,name=username,proto3" json:"username,omitempty"` //  string validate = 15;
	// contains filtered or unexported fields
}

func NewLoginRequest added in v0.0.17

func NewLoginRequest(username string, encryptedPassword string) *LoginRequest

func (*LoginRequest) Descriptor deprecated added in v0.0.17

func (*LoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetAppkey added in v0.0.17

func (x *LoginRequest) GetAppkey() string

func (*LoginRequest) GetBuild added in v0.0.17

func (x *LoginRequest) GetBuild() int32

func (*LoginRequest) GetChannel added in v0.0.17

func (x *LoginRequest) GetChannel() string

func (*LoginRequest) GetDevice added in v0.0.17

func (x *LoginRequest) GetDevice() string

func (*LoginRequest) GetPassword added in v0.0.17

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) GetPermission added in v0.0.17

func (x *LoginRequest) GetPermission() string

func (*LoginRequest) GetPlatform added in v0.0.17

func (x *LoginRequest) GetPlatform() string

func (*LoginRequest) GetSubid added in v0.0.17

func (x *LoginRequest) GetSubid() int32

func (*LoginRequest) GetTs added in v0.0.17

func (x *LoginRequest) GetTs() int32

func (*LoginRequest) GetUsername added in v0.0.17

func (x *LoginRequest) GetUsername() string

func (*LoginRequest) ProtoMessage added in v0.0.17

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect added in v1.1.1

func (x *LoginRequest) ProtoReflect() protoreflect.Message

func (*LoginRequest) Reset added in v0.0.17

func (x *LoginRequest) Reset()

func (*LoginRequest) String added in v0.0.17

func (x *LoginRequest) String() string

type LoginResponse added in v0.0.17

type LoginResponse struct {
	Ts      int32               `protobuf:"varint,1,opt,name=ts,proto3" json:"ts,omitempty"`
	Code    int32               `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"`
	Data    *LoginResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	Message string              `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func Login added in v0.0.17

func Login(username string, password string) (*LoginResponse, error)

func (*LoginResponse) Descriptor deprecated added in v0.0.17

func (*LoginResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetCode added in v0.0.17

func (x *LoginResponse) GetCode() int32

func (*LoginResponse) GetData added in v0.0.17

func (x *LoginResponse) GetData() *LoginResponse_Data

func (*LoginResponse) GetMessage added in v0.1.4

func (x *LoginResponse) GetMessage() string

func (*LoginResponse) GetTs added in v0.0.17

func (x *LoginResponse) GetTs() int32

func (*LoginResponse) ProtoMessage added in v0.0.17

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect added in v1.1.1

func (x *LoginResponse) ProtoReflect() protoreflect.Message

func (*LoginResponse) Reset added in v0.0.17

func (x *LoginResponse) Reset()

func (*LoginResponse) String added in v0.0.17

func (x *LoginResponse) String() string

type LoginResponse_Data added in v0.0.17

type LoginResponse_Data struct {
	Status     int32                          `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	TokenInfo  *LoginResponse_Data_TokenInfo  `protobuf:"bytes,2,opt,name=token_info,json=tokenInfo,proto3" json:"token_info,omitempty"`
	CookieInfo *LoginResponse_Data_CookieInfo `protobuf:"bytes,3,opt,name=cookie_info,json=cookieInfo,proto3" json:"cookie_info,omitempty"`
	Sso        []string                       `protobuf:"bytes,4,rep,name=sso,proto3" json:"sso,omitempty"`
	Message    string                         `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	Url        string                         `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse_Data) Descriptor deprecated added in v0.0.17

func (*LoginResponse_Data) Descriptor() ([]byte, []int)

Deprecated: Use LoginResponse_Data.ProtoReflect.Descriptor instead.

func (*LoginResponse_Data) GetCookieInfo added in v0.0.17

func (*LoginResponse_Data) GetMessage added in v0.1.4

func (x *LoginResponse_Data) GetMessage() string

func (*LoginResponse_Data) GetSso added in v0.0.17

func (x *LoginResponse_Data) GetSso() []string

func (*LoginResponse_Data) GetStatus added in v0.0.17

func (x *LoginResponse_Data) GetStatus() int32

func (*LoginResponse_Data) GetTokenInfo added in v0.0.17

func (*LoginResponse_Data) GetUrl added in v0.1.4

func (x *LoginResponse_Data) GetUrl() string

func (*LoginResponse_Data) ProtoMessage added in v0.0.17

func (*LoginResponse_Data) ProtoMessage()

func (*LoginResponse_Data) ProtoReflect added in v1.1.1

func (x *LoginResponse_Data) ProtoReflect() protoreflect.Message

func (*LoginResponse_Data) Reset added in v0.0.17

func (x *LoginResponse_Data) Reset()

func (*LoginResponse_Data) String added in v0.0.17

func (x *LoginResponse_Data) String() string

type LoginResponse_Data_CookieInfo added in v0.0.17

type LoginResponse_Data_CookieInfo struct {
	Cookies []*LoginResponse_Data_CookieInfo_Cookie `protobuf:"bytes,1,rep,name=cookies,proto3" json:"cookies,omitempty"`
	Domains []string                                `protobuf:"bytes,2,rep,name=domains,proto3" json:"domains,omitempty"`
	// contains filtered or unexported fields
}

func GetCookieInfo added in v0.0.17

func GetCookieInfo(username string) (cookieInfo *LoginResponse_Data_CookieInfo, err error)

func (*LoginResponse_Data_CookieInfo) Descriptor deprecated added in v0.0.17

func (*LoginResponse_Data_CookieInfo) Descriptor() ([]byte, []int)

Deprecated: Use LoginResponse_Data_CookieInfo.ProtoReflect.Descriptor instead.

func (*LoginResponse_Data_CookieInfo) GetCookies added in v0.0.17

func (*LoginResponse_Data_CookieInfo) GetDomains added in v0.0.17

func (x *LoginResponse_Data_CookieInfo) GetDomains() []string

func (*LoginResponse_Data_CookieInfo) ProtoMessage added in v0.0.17

func (*LoginResponse_Data_CookieInfo) ProtoMessage()

func (*LoginResponse_Data_CookieInfo) ProtoReflect added in v1.1.1

func (*LoginResponse_Data_CookieInfo) Reset added in v0.0.17

func (x *LoginResponse_Data_CookieInfo) Reset()

func (*LoginResponse_Data_CookieInfo) String added in v0.0.17

type LoginResponse_Data_CookieInfo_Cookie struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value    string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	HttpOnly int32  `protobuf:"varint,3,opt,name=http_only,json=httpOnly,proto3" json:"http_only,omitempty"`
	Expires  int64  `protobuf:"varint,4,opt,name=expires,proto3" json:"expires,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse_Data_CookieInfo_Cookie) Descriptor deprecated added in v0.0.17

func (*LoginResponse_Data_CookieInfo_Cookie) Descriptor() ([]byte, []int)

Deprecated: Use LoginResponse_Data_CookieInfo_Cookie.ProtoReflect.Descriptor instead.

func (*LoginResponse_Data_CookieInfo_Cookie) GetExpires added in v0.0.17

func (*LoginResponse_Data_CookieInfo_Cookie) GetHttpOnly added in v0.0.17

func (*LoginResponse_Data_CookieInfo_Cookie) GetName added in v0.0.17

func (*LoginResponse_Data_CookieInfo_Cookie) GetValue added in v0.0.17

func (*LoginResponse_Data_CookieInfo_Cookie) ProtoMessage added in v0.0.17

func (*LoginResponse_Data_CookieInfo_Cookie) ProtoMessage()

func (*LoginResponse_Data_CookieInfo_Cookie) ProtoReflect added in v1.1.1

func (*LoginResponse_Data_CookieInfo_Cookie) Reset added in v0.0.17

func (*LoginResponse_Data_CookieInfo_Cookie) String added in v0.0.17

type LoginResponse_Data_TokenInfo added in v0.0.17

type LoginResponse_Data_TokenInfo struct {
	Mid          int64  `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	AccessToken  string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	ExpiresIn    int64  `protobuf:"varint,4,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse_Data_TokenInfo) Descriptor deprecated added in v0.0.17

func (*LoginResponse_Data_TokenInfo) Descriptor() ([]byte, []int)

Deprecated: Use LoginResponse_Data_TokenInfo.ProtoReflect.Descriptor instead.

func (*LoginResponse_Data_TokenInfo) GetAccessToken added in v0.0.17

func (x *LoginResponse_Data_TokenInfo) GetAccessToken() string

func (*LoginResponse_Data_TokenInfo) GetExpiresIn added in v0.0.17

func (x *LoginResponse_Data_TokenInfo) GetExpiresIn() int64

func (*LoginResponse_Data_TokenInfo) GetMid added in v0.0.17

func (x *LoginResponse_Data_TokenInfo) GetMid() int64

func (*LoginResponse_Data_TokenInfo) GetRefreshToken added in v0.0.17

func (x *LoginResponse_Data_TokenInfo) GetRefreshToken() string

func (*LoginResponse_Data_TokenInfo) ProtoMessage added in v0.0.17

func (*LoginResponse_Data_TokenInfo) ProtoMessage()

func (*LoginResponse_Data_TokenInfo) ProtoReflect added in v1.1.1

func (*LoginResponse_Data_TokenInfo) Reset added in v0.0.17

func (x *LoginResponse_Data_TokenInfo) Reset()

func (*LoginResponse_Data_TokenInfo) String added in v0.0.17

type NewsInfo

type NewsInfo struct {
	UserInfo
	LastDynamicId int64   `json:"last_dynamic_id"`
	Timestamp     int64   `json:"timestamp"`
	Cards         []*Card `json:"-"`
}

func NewNewsInfo

func NewNewsInfo(userInfo *UserInfo, dynamicId int64, timestamp int64) *NewsInfo

func NewNewsInfoWithDetail

func NewNewsInfoWithDetail(userInfo *UserInfo, cards []*Card) *NewsInfo

func (*NewsInfo) Logger added in v0.0.20

func (n *NewsInfo) Logger() *logrus.Entry

func (*NewsInfo) Site added in v1.0.0

func (n *NewsInfo) Site() string

func (*NewsInfo) Type

func (n *NewsInfo) Type() concern_type.Type

type RelationFeedRequest

type RelationFeedRequest struct {
	Page     int `json:"page"`
	PageSize int `json:"pagesize"`
}

type RelationModifyRequest

type RelationModifyRequest struct {
	Fid  int64  `json:"fid"`
	Act  int    `json:"act"`
	Csrf string `json:"csrf"`
}

type RelationModifyResponse

type RelationModifyResponse struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Ttl     int64  `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// contains filtered or unexported fields
}

func RelationModify

func RelationModify(fid int64, act int) (*RelationModifyResponse, error)

func (*RelationModifyResponse) Descriptor deprecated

func (*RelationModifyResponse) Descriptor() ([]byte, []int)

Deprecated: Use RelationModifyResponse.ProtoReflect.Descriptor instead.

func (*RelationModifyResponse) GetCode

func (x *RelationModifyResponse) GetCode() int32

func (*RelationModifyResponse) GetMessage

func (x *RelationModifyResponse) GetMessage() string

func (*RelationModifyResponse) GetTtl

func (x *RelationModifyResponse) GetTtl() int64

func (*RelationModifyResponse) ProtoMessage

func (*RelationModifyResponse) ProtoMessage()

func (*RelationModifyResponse) ProtoReflect added in v1.1.1

func (x *RelationModifyResponse) ProtoReflect() protoreflect.Message

func (*RelationModifyResponse) Reset

func (x *RelationModifyResponse) Reset()

func (*RelationModifyResponse) String

func (x *RelationModifyResponse) String() string

type RoomStatus

type RoomStatus int32
const (
	RoomStatus_NonExist RoomStatus = 0
	RoomStatus_Exist    RoomStatus = 1
)

func (RoomStatus) Descriptor added in v1.1.1

func (RoomStatus) Descriptor() protoreflect.EnumDescriptor

func (RoomStatus) Enum added in v1.1.1

func (x RoomStatus) Enum() *RoomStatus

func (RoomStatus) EnumDescriptor deprecated

func (RoomStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use RoomStatus.Descriptor instead.

func (RoomStatus) Number added in v1.1.1

func (x RoomStatus) Number() protoreflect.EnumNumber

func (RoomStatus) String

func (x RoomStatus) String() string

func (RoomStatus) Type added in v1.1.1

type RoundStatus

type RoundStatus int32
const (
	RoundStatus_Off RoundStatus = 0
	RoundStatus_On  RoundStatus = 1
)

func (RoundStatus) Descriptor added in v1.1.1

func (RoundStatus) Enum added in v1.1.1

func (x RoundStatus) Enum() *RoundStatus

func (RoundStatus) EnumDescriptor deprecated

func (RoundStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use RoundStatus.Descriptor instead.

func (RoundStatus) Number added in v1.1.1

func (x RoundStatus) Number() protoreflect.EnumNumber

func (RoundStatus) String

func (x RoundStatus) String() string

func (RoundStatus) Type added in v1.1.1

type SpecialType

type SpecialType int32
const (
	SpecialType_Normal       SpecialType = 0
	SpecialType_Pay          SpecialType = 1
	SpecialType_YearFestival SpecialType = 2
)

func (SpecialType) Descriptor added in v1.1.1

func (SpecialType) Enum added in v1.1.1

func (x SpecialType) Enum() *SpecialType

func (SpecialType) EnumDescriptor deprecated

func (SpecialType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SpecialType.Descriptor instead.

func (SpecialType) Number added in v1.1.1

func (x SpecialType) Number() protoreflect.EnumNumber

func (SpecialType) String

func (x SpecialType) String() string

func (SpecialType) Type added in v1.1.1

type StateManager

type StateManager struct {
	*concern.StateManager
	// contains filtered or unexported fields
}

func NewStateManager

func NewStateManager(c *Concern) *StateManager

func (StateManager) ActiveTimestampKey added in v1.0.5

func (k StateManager) ActiveTimestampKey(keys ...interface{}) string

func (*StateManager) AddLiveInfo

func (c *StateManager) AddLiveInfo(liveInfo *LiveInfo) error

func (*StateManager) AddNewsInfo

func (c *StateManager) AddNewsInfo(newsInfo *NewsInfo) error

func (*StateManager) AddUserInfo

func (c *StateManager) AddUserInfo(userInfo *UserInfo) error

func (*StateManager) AddUserStat added in v0.0.19

func (c *StateManager) AddUserStat(userStat *UserStat, expire time.Duration) error

func (*StateManager) CheckDynamicId

func (c *StateManager) CheckDynamicId(dynamic int64) (result bool)

func (*StateManager) ClearByMid added in v0.0.13

func (c *StateManager) ClearByMid(mid int64) error

func (*StateManager) ClearNotLiveCount added in v0.0.7

func (c *StateManager) ClearNotLiveCount(uid int64) error

func (StateManager) CompactMarkKey added in v1.0.0

func (k StateManager) CompactMarkKey(keys ...interface{}) string

func (StateManager) CurrentLiveKey

func (k StateManager) CurrentLiveKey(keys ...interface{}) string

func (StateManager) CurrentNewsKey

func (k StateManager) CurrentNewsKey(keys ...interface{}) string

func (*StateManager) DeleteLiveInfo added in v0.0.13

func (c *StateManager) DeleteLiveInfo(mid int64) error

func (*StateManager) DeleteNewsAndLiveInfo added in v0.0.13

func (c *StateManager) DeleteNewsAndLiveInfo(mid int64) error

func (*StateManager) DeleteNewsInfo

func (c *StateManager) DeleteNewsInfo(mid int64) error

func (StateManager) DynamicIdKey

func (k StateManager) DynamicIdKey(keys ...interface{}) string

func (*StateManager) GetGroupConcernConfig added in v1.0.0

func (c *StateManager) GetGroupConcernConfig(groupCode int64, id interface{}) (concernConfig concern.IConfig)

func (*StateManager) GetLastFreshTime added in v1.0.0

func (c *StateManager) GetLastFreshTime() (int64, error)

func (*StateManager) GetLatestActive added in v1.0.5

func (c *StateManager) GetLatestActive(mid int64) (int64, error)

func (*StateManager) GetLiveInfo

func (c *StateManager) GetLiveInfo(mid int64) (*LiveInfo, error)

func (*StateManager) GetNewsInfo

func (c *StateManager) GetNewsInfo(mid int64) (*NewsInfo, error)

func (*StateManager) GetNotifyMsg added in v1.0.0

func (c *StateManager) GetNotifyMsg(groupCode int64, notifyKey string) (*message.GroupMessage, error)

func (*StateManager) GetUidFirstTimestamp added in v0.0.6

func (c *StateManager) GetUidFirstTimestamp(uid int64) (timestamp int64, err error)

func (*StateManager) GetUserInfo

func (c *StateManager) GetUserInfo(mid int64) (*UserInfo, error)

func (*StateManager) GetUserStat added in v0.0.19

func (c *StateManager) GetUserStat(mid int64) (*UserStat, error)

func (*StateManager) IncNotLiveCount added in v0.0.7

func (c *StateManager) IncNotLiveCount(uid int64) int64

func (StateManager) LastFreshKey added in v1.0.0

func (k StateManager) LastFreshKey(keys ...interface{}) string

func (*StateManager) MarkDynamicId

func (c *StateManager) MarkDynamicId(dynamic int64) (bool, error)

func (*StateManager) MarkLatestActive added in v1.0.5

func (c *StateManager) MarkLatestActive(mid int64, ts int64) error

func (StateManager) NotLiveKey added in v0.0.7

func (k StateManager) NotLiveKey(keys ...interface{}) string

func (StateManager) NotifyMsgKey added in v1.0.0

func (k StateManager) NotifyMsgKey(keys ...interface{}) string

func (*StateManager) SetGroupCompactMarkIfNotExist added in v1.0.0

func (c *StateManager) SetGroupCompactMarkIfNotExist(groupCode int64, compactKey string) error

func (*StateManager) SetLastFreshTime added in v1.0.0

func (c *StateManager) SetLastFreshTime(ts int64) error

func (*StateManager) SetNotifyMsg added in v1.0.0

func (c *StateManager) SetNotifyMsg(notifyKey string, msg *message.GroupMessage) error

func (*StateManager) SetUidFirstTimestampIfNotExist added in v0.0.9

func (c *StateManager) SetUidFirstTimestampIfNotExist(uid int64, timestamp int64) error

func (*StateManager) Start

func (c *StateManager) Start() error

func (StateManager) UidFirstTimestamp added in v0.0.6

func (k StateManager) UidFirstTimestamp(keys ...interface{}) string

func (*StateManager) UnsetUidFirstTimestamp added in v0.0.6

func (c *StateManager) UnsetUidFirstTimestamp(uid int64) error

func (StateManager) UserInfoKey

func (k StateManager) UserInfoKey(keys ...interface{}) string

func (StateManager) UserStatKey added in v0.0.19

func (k StateManager) UserStatKey(keys ...interface{}) string

type UserInfo

type UserInfo struct {
	Mid     int64  `json:"mid"`
	Name    string `json:"name"`
	RoomId  int64  `json:"room_id"`
	RoomUrl string `json:"room_url"`

	UserStat *UserStat `json:"-"`
}

func NewUserInfo

func NewUserInfo(mid, roomId int64, name, url string) *UserInfo

func (*UserInfo) GetName added in v0.0.13

func (ui *UserInfo) GetName() string

func (*UserInfo) GetUid added in v1.0.0

func (ui *UserInfo) GetUid() interface{}

type UserStat added in v0.0.19

type UserStat struct {
	Mid int64 `json:"mid"`
	// 关注数
	Following int64 `json:"following"`
	// 粉丝数
	Follower int64 `json:"follower"`
}

func NewUserStat added in v0.0.19

func NewUserStat(mid, following, follower int64) *UserStat

type VerifyInfo added in v0.1.1

type VerifyInfo struct {
	SESSDATA   string
	BiliJct    string
	VerifyOpts []requests.Option
}

func GetVerifyInfo added in v0.1.1

func GetVerifyInfo() *VerifyInfo

type WebInterfaceNavResponse added in v1.0.0

type WebInterfaceNavResponse struct {
	Code    int32                         `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string                        `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Ttl     int64                         `protobuf:"varint,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
	Data    *WebInterfaceNavResponse_Data `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func XWebInterfaceNav added in v1.0.0

func XWebInterfaceNav(login bool) (*WebInterfaceNavResponse, error)

func (*WebInterfaceNavResponse) Descriptor deprecated added in v1.0.0

func (*WebInterfaceNavResponse) Descriptor() ([]byte, []int)

Deprecated: Use WebInterfaceNavResponse.ProtoReflect.Descriptor instead.

func (*WebInterfaceNavResponse) GetCode added in v1.0.0

func (x *WebInterfaceNavResponse) GetCode() int32

func (*WebInterfaceNavResponse) GetData added in v1.0.0

func (*WebInterfaceNavResponse) GetMessage added in v1.0.0

func (x *WebInterfaceNavResponse) GetMessage() string

func (*WebInterfaceNavResponse) GetTtl added in v1.0.0

func (x *WebInterfaceNavResponse) GetTtl() int64

func (*WebInterfaceNavResponse) ProtoMessage added in v1.0.0

func (*WebInterfaceNavResponse) ProtoMessage()

func (*WebInterfaceNavResponse) ProtoReflect added in v1.1.1

func (x *WebInterfaceNavResponse) ProtoReflect() protoreflect.Message

func (*WebInterfaceNavResponse) Reset added in v1.0.0

func (x *WebInterfaceNavResponse) Reset()

func (*WebInterfaceNavResponse) String added in v1.0.0

func (x *WebInterfaceNavResponse) String() string

type WebInterfaceNavResponse_Data added in v1.0.0

type WebInterfaceNavResponse_Data struct {
	IsLogin   bool                                    `protobuf:"varint,1,opt,name=isLogin,proto3" json:"isLogin,omitempty"`
	Mid       int64                                   `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
	Uname     string                                  `protobuf:"bytes,3,opt,name=uname,proto3" json:"uname,omitempty"`
	LevelInfo *WebInterfaceNavResponse_Data_LevelInfo `protobuf:"bytes,4,opt,name=level_info,json=levelInfo,proto3" json:"level_info,omitempty"`
	VipLabel  *WebInterfaceNavResponse_Data_VipLabel  `protobuf:"bytes,5,opt,name=vip_label,json=vipLabel,proto3" json:"vip_label,omitempty"`
	WbiImg    *WebInterfaceNavResponse_Data_WbiImg    `protobuf:"bytes,6,opt,name=wbi_img,json=wbiImg,proto3" json:"wbi_img,omitempty"`
	// contains filtered or unexported fields
}

func (*WebInterfaceNavResponse_Data) Descriptor deprecated added in v1.0.0

func (*WebInterfaceNavResponse_Data) Descriptor() ([]byte, []int)

Deprecated: Use WebInterfaceNavResponse_Data.ProtoReflect.Descriptor instead.

func (*WebInterfaceNavResponse_Data) GetIsLogin added in v1.0.0

func (x *WebInterfaceNavResponse_Data) GetIsLogin() bool

func (*WebInterfaceNavResponse_Data) GetLevelInfo added in v1.0.0

func (*WebInterfaceNavResponse_Data) GetMid added in v1.0.0

func (x *WebInterfaceNavResponse_Data) GetMid() int64

func (*WebInterfaceNavResponse_Data) GetUname added in v1.0.0

func (x *WebInterfaceNavResponse_Data) GetUname() string

func (*WebInterfaceNavResponse_Data) GetVipLabel added in v1.0.0

func (*WebInterfaceNavResponse_Data) GetWbiImg added in v1.1.1

func (*WebInterfaceNavResponse_Data) ProtoMessage added in v1.0.0

func (*WebInterfaceNavResponse_Data) ProtoMessage()

func (*WebInterfaceNavResponse_Data) ProtoReflect added in v1.1.1

func (*WebInterfaceNavResponse_Data) Reset added in v1.0.0

func (x *WebInterfaceNavResponse_Data) Reset()

func (*WebInterfaceNavResponse_Data) String added in v1.0.0

type WebInterfaceNavResponse_Data_LevelInfo added in v1.0.0

type WebInterfaceNavResponse_Data_LevelInfo struct {
	CurrentLevel int32 `protobuf:"varint,1,opt,name=current_level,json=currentLevel,proto3" json:"current_level,omitempty"`
	// contains filtered or unexported fields
}

func (*WebInterfaceNavResponse_Data_LevelInfo) Descriptor deprecated added in v1.0.0

func (*WebInterfaceNavResponse_Data_LevelInfo) Descriptor() ([]byte, []int)

Deprecated: Use WebInterfaceNavResponse_Data_LevelInfo.ProtoReflect.Descriptor instead.

func (*WebInterfaceNavResponse_Data_LevelInfo) GetCurrentLevel added in v1.0.0

func (x *WebInterfaceNavResponse_Data_LevelInfo) GetCurrentLevel() int32

func (*WebInterfaceNavResponse_Data_LevelInfo) ProtoMessage added in v1.0.0

func (*WebInterfaceNavResponse_Data_LevelInfo) ProtoReflect added in v1.1.1

func (*WebInterfaceNavResponse_Data_LevelInfo) Reset added in v1.0.0

func (*WebInterfaceNavResponse_Data_LevelInfo) String added in v1.0.0

type WebInterfaceNavResponse_Data_VipLabel added in v1.0.0

type WebInterfaceNavResponse_Data_VipLabel struct {
	Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

func (*WebInterfaceNavResponse_Data_VipLabel) Descriptor deprecated added in v1.0.0

func (*WebInterfaceNavResponse_Data_VipLabel) Descriptor() ([]byte, []int)

Deprecated: Use WebInterfaceNavResponse_Data_VipLabel.ProtoReflect.Descriptor instead.

func (*WebInterfaceNavResponse_Data_VipLabel) GetText added in v1.0.0

func (*WebInterfaceNavResponse_Data_VipLabel) ProtoMessage added in v1.0.0

func (*WebInterfaceNavResponse_Data_VipLabel) ProtoMessage()

func (*WebInterfaceNavResponse_Data_VipLabel) ProtoReflect added in v1.1.1

func (*WebInterfaceNavResponse_Data_VipLabel) Reset added in v1.0.0

func (*WebInterfaceNavResponse_Data_VipLabel) String added in v1.0.0

type WebInterfaceNavResponse_Data_WbiImg added in v1.1.1

type WebInterfaceNavResponse_Data_WbiImg struct {
	ImgUrl string `protobuf:"bytes,1,opt,name=img_url,json=imgUrl,proto3" json:"img_url,omitempty"`
	SubUrl string `protobuf:"bytes,2,opt,name=sub_url,json=subUrl,proto3" json:"sub_url,omitempty"`
	// contains filtered or unexported fields
}

func (*WebInterfaceNavResponse_Data_WbiImg) Descriptor deprecated added in v1.1.1

func (*WebInterfaceNavResponse_Data_WbiImg) Descriptor() ([]byte, []int)

Deprecated: Use WebInterfaceNavResponse_Data_WbiImg.ProtoReflect.Descriptor instead.

func (*WebInterfaceNavResponse_Data_WbiImg) GetImgUrl added in v1.1.1

func (*WebInterfaceNavResponse_Data_WbiImg) GetSubUrl added in v1.1.1

func (*WebInterfaceNavResponse_Data_WbiImg) ProtoMessage added in v1.1.1

func (*WebInterfaceNavResponse_Data_WbiImg) ProtoMessage()

func (*WebInterfaceNavResponse_Data_WbiImg) ProtoReflect added in v1.1.1

func (*WebInterfaceNavResponse_Data_WbiImg) Reset added in v1.1.1

func (*WebInterfaceNavResponse_Data_WbiImg) String added in v1.1.1

type XRelationStatRequest added in v0.0.19

type XRelationStatRequest struct {
	Mid int64 `json:"vmid"`
}

type XRelationStatResponse added in v0.0.19

type XRelationStatResponse struct {
	Code    int32                       `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string                      `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Data    *XRelationStatResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func XRelationStat added in v0.0.19

func XRelationStat(mid int64) (*XRelationStatResponse, error)

func (*XRelationStatResponse) Descriptor deprecated added in v0.0.19

func (*XRelationStatResponse) Descriptor() ([]byte, []int)

Deprecated: Use XRelationStatResponse.ProtoReflect.Descriptor instead.

func (*XRelationStatResponse) GetCode added in v0.0.19

func (x *XRelationStatResponse) GetCode() int32

func (*XRelationStatResponse) GetData added in v0.0.19

func (*XRelationStatResponse) GetMessage added in v0.0.19

func (x *XRelationStatResponse) GetMessage() string

func (*XRelationStatResponse) ProtoMessage added in v0.0.19

func (*XRelationStatResponse) ProtoMessage()

func (*XRelationStatResponse) ProtoReflect added in v1.1.1

func (x *XRelationStatResponse) ProtoReflect() protoreflect.Message

func (*XRelationStatResponse) Reset added in v0.0.19

func (x *XRelationStatResponse) Reset()

func (*XRelationStatResponse) String added in v0.0.19

func (x *XRelationStatResponse) String() string

type XRelationStatResponse_Data added in v0.0.19

type XRelationStatResponse_Data struct {
	Mid       int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	Following int64 `protobuf:"varint,2,opt,name=following,proto3" json:"following,omitempty"`
	Follower  int64 `protobuf:"varint,3,opt,name=follower,proto3" json:"follower,omitempty"`
	// contains filtered or unexported fields
}

func (*XRelationStatResponse_Data) Descriptor deprecated added in v0.0.19

func (*XRelationStatResponse_Data) Descriptor() ([]byte, []int)

Deprecated: Use XRelationStatResponse_Data.ProtoReflect.Descriptor instead.

func (*XRelationStatResponse_Data) GetFollower added in v0.0.19

func (x *XRelationStatResponse_Data) GetFollower() int64

func (*XRelationStatResponse_Data) GetFollowing added in v0.0.19

func (x *XRelationStatResponse_Data) GetFollowing() int64

func (*XRelationStatResponse_Data) GetMid added in v0.0.19

func (x *XRelationStatResponse_Data) GetMid() int64

func (*XRelationStatResponse_Data) ProtoMessage added in v0.0.19

func (*XRelationStatResponse_Data) ProtoMessage()

func (*XRelationStatResponse_Data) ProtoReflect added in v1.1.1

func (*XRelationStatResponse_Data) Reset added in v0.0.19

func (x *XRelationStatResponse_Data) Reset()

func (*XRelationStatResponse_Data) String added in v0.0.19

func (x *XRelationStatResponse_Data) String() string

type XSpaceAccInfoRequest added in v0.0.19

type XSpaceAccInfoRequest struct {
	Mid         int64  `json:"mid"`
	Platform    string `json:"platform"`
	Token       string `json:"token"`
	WebLocation string `json:"web_location"`
}

type XSpaceAccInfoResponse

type XSpaceAccInfoResponse struct {
	Code    int32                       `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string                      `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Data    *XSpaceAccInfoResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func XSpaceAccInfo

func XSpaceAccInfo(mid int64) (*XSpaceAccInfoResponse, error)

func (*XSpaceAccInfoResponse) Descriptor deprecated

func (*XSpaceAccInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use XSpaceAccInfoResponse.ProtoReflect.Descriptor instead.

func (*XSpaceAccInfoResponse) GetCode

func (x *XSpaceAccInfoResponse) GetCode() int32

func (*XSpaceAccInfoResponse) GetData

func (*XSpaceAccInfoResponse) GetMessage

func (x *XSpaceAccInfoResponse) GetMessage() string

func (*XSpaceAccInfoResponse) ProtoMessage

func (*XSpaceAccInfoResponse) ProtoMessage()

func (*XSpaceAccInfoResponse) ProtoReflect added in v1.1.1

func (x *XSpaceAccInfoResponse) ProtoReflect() protoreflect.Message

func (*XSpaceAccInfoResponse) Reset

func (x *XSpaceAccInfoResponse) Reset()

func (*XSpaceAccInfoResponse) String

func (x *XSpaceAccInfoResponse) String() string

type XSpaceAccInfoResponse_Data

type XSpaceAccInfoResponse_Data struct {
	Mid      int64                                `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	Name     string                               `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Level    int32                                `protobuf:"varint,7,opt,name=level,proto3" json:"level,omitempty"`
	LiveRoom *XSpaceAccInfoResponse_Data_LiveRoom `protobuf:"bytes,17,opt,name=live_room,json=liveRoom,proto3" json:"live_room,omitempty"`
	// contains filtered or unexported fields
}

func (*XSpaceAccInfoResponse_Data) Descriptor deprecated

func (*XSpaceAccInfoResponse_Data) Descriptor() ([]byte, []int)

Deprecated: Use XSpaceAccInfoResponse_Data.ProtoReflect.Descriptor instead.

func (*XSpaceAccInfoResponse_Data) GetLevel

func (x *XSpaceAccInfoResponse_Data) GetLevel() int32

func (*XSpaceAccInfoResponse_Data) GetLiveRoom

func (*XSpaceAccInfoResponse_Data) GetMid

func (x *XSpaceAccInfoResponse_Data) GetMid() int64

func (*XSpaceAccInfoResponse_Data) GetName

func (x *XSpaceAccInfoResponse_Data) GetName() string

func (*XSpaceAccInfoResponse_Data) ProtoMessage

func (*XSpaceAccInfoResponse_Data) ProtoMessage()

func (*XSpaceAccInfoResponse_Data) ProtoReflect added in v1.1.1

func (*XSpaceAccInfoResponse_Data) Reset

func (x *XSpaceAccInfoResponse_Data) Reset()

func (*XSpaceAccInfoResponse_Data) String

func (x *XSpaceAccInfoResponse_Data) String() string

type XSpaceAccInfoResponse_Data_LiveRoom

type XSpaceAccInfoResponse_Data_LiveRoom struct {
	RoomStatus  RoomStatus  `protobuf:"varint,1,opt,name=roomStatus,proto3,enum=bilibili.RoomStatus" json:"roomStatus,omitempty"`
	LiveStatus  LiveStatus  `protobuf:"varint,2,opt,name=liveStatus,proto3,enum=bilibili.LiveStatus" json:"liveStatus,omitempty"`
	Url         string      `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	Title       string      `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	Cover       string      `protobuf:"bytes,5,opt,name=cover,proto3" json:"cover,omitempty"`
	Roomid      int64       `protobuf:"varint,6,opt,name=roomid,proto3" json:"roomid,omitempty"`
	RoundStatus RoundStatus `protobuf:"varint,7,opt,name=roundStatus,proto3,enum=bilibili.RoundStatus" json:"roundStatus,omitempty"`
	// contains filtered or unexported fields
}

func (*XSpaceAccInfoResponse_Data_LiveRoom) Descriptor deprecated

func (*XSpaceAccInfoResponse_Data_LiveRoom) Descriptor() ([]byte, []int)

Deprecated: Use XSpaceAccInfoResponse_Data_LiveRoom.ProtoReflect.Descriptor instead.

func (*XSpaceAccInfoResponse_Data_LiveRoom) GetCover

func (*XSpaceAccInfoResponse_Data_LiveRoom) GetLiveStatus

func (*XSpaceAccInfoResponse_Data_LiveRoom) GetRoomStatus

func (*XSpaceAccInfoResponse_Data_LiveRoom) GetRoomid

func (*XSpaceAccInfoResponse_Data_LiveRoom) GetRoundStatus

func (*XSpaceAccInfoResponse_Data_LiveRoom) GetTitle

func (*XSpaceAccInfoResponse_Data_LiveRoom) GetUrl

func (*XSpaceAccInfoResponse_Data_LiveRoom) ProtoMessage

func (*XSpaceAccInfoResponse_Data_LiveRoom) ProtoMessage()

func (*XSpaceAccInfoResponse_Data_LiveRoom) ProtoReflect added in v1.1.1

func (*XSpaceAccInfoResponse_Data_LiveRoom) Reset

func (*XSpaceAccInfoResponse_Data_LiveRoom) String

Jump to

Keyboard shortcuts

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