Versions in this module Expand all Collapse all v1 v1.1.4 Sep 24, 2023 Changes in this version + const News + const PathConcainerGetIndex_Profile + const PathContainerGetIndex_Cards + const Site + var CardType_name = map[int32]string + var CardType_value = map[string]int32 + var File_lsp_weibo_weibo_proto protoreflect.FileDescriptor + func CookieOption() []requests.Option + func FreshCookie() ([]*http.Cookie, error) + type ApiContainerGetIndexCardsResponse struct + Data *ApiContainerGetIndexCardsResponse_Data + Msg string + Ok int32 + func ApiContainerGetIndexCards(uid int64) (*ApiContainerGetIndexCardsResponse, error) + func (*ApiContainerGetIndexCardsResponse) Descriptor() ([]byte, []int) + func (*ApiContainerGetIndexCardsResponse) ProtoMessage() + func (x *ApiContainerGetIndexCardsResponse) GetData() *ApiContainerGetIndexCardsResponse_Data + func (x *ApiContainerGetIndexCardsResponse) GetMsg() string + func (x *ApiContainerGetIndexCardsResponse) GetOk() int32 + func (x *ApiContainerGetIndexCardsResponse) ProtoReflect() protoreflect.Message + func (x *ApiContainerGetIndexCardsResponse) Reset() + func (x *ApiContainerGetIndexCardsResponse) String() string + type ApiContainerGetIndexCardsResponse_Data struct + CardlistInfo *ApiContainerGetIndexCardsResponse_Data_CardListInfo + Cards []*Card + func (*ApiContainerGetIndexCardsResponse_Data) Descriptor() ([]byte, []int) + func (*ApiContainerGetIndexCardsResponse_Data) ProtoMessage() + func (x *ApiContainerGetIndexCardsResponse_Data) GetCardlistInfo() *ApiContainerGetIndexCardsResponse_Data_CardListInfo + func (x *ApiContainerGetIndexCardsResponse_Data) GetCards() []*Card + func (x *ApiContainerGetIndexCardsResponse_Data) ProtoReflect() protoreflect.Message + func (x *ApiContainerGetIndexCardsResponse_Data) Reset() + func (x *ApiContainerGetIndexCardsResponse_Data) String() string + type ApiContainerGetIndexCardsResponse_Data_CardListInfo struct + Containerid string + Page int32 + ShowStyle int32 + Total int32 + VP int32 + func (*ApiContainerGetIndexCardsResponse_Data_CardListInfo) Descriptor() ([]byte, []int) + func (*ApiContainerGetIndexCardsResponse_Data_CardListInfo) ProtoMessage() + func (x *ApiContainerGetIndexCardsResponse_Data_CardListInfo) GetContainerid() string + func (x *ApiContainerGetIndexCardsResponse_Data_CardListInfo) GetPage() int32 + func (x *ApiContainerGetIndexCardsResponse_Data_CardListInfo) GetShowStyle() int32 + func (x *ApiContainerGetIndexCardsResponse_Data_CardListInfo) GetTotal() int32 + func (x *ApiContainerGetIndexCardsResponse_Data_CardListInfo) GetVP() int32 + func (x *ApiContainerGetIndexCardsResponse_Data_CardListInfo) ProtoReflect() protoreflect.Message + func (x *ApiContainerGetIndexCardsResponse_Data_CardListInfo) Reset() + func (x *ApiContainerGetIndexCardsResponse_Data_CardListInfo) String() string + type ApiContainerGetIndexProfileResponse struct + Data *ApiContainerGetIndexProfileResponse_Data + Msg string + Ok int32 + func ApiContainerGetIndexProfile(uid int64) (*ApiContainerGetIndexProfileResponse, error) + func (*ApiContainerGetIndexProfileResponse) Descriptor() ([]byte, []int) + func (*ApiContainerGetIndexProfileResponse) ProtoMessage() + func (x *ApiContainerGetIndexProfileResponse) GetData() *ApiContainerGetIndexProfileResponse_Data + func (x *ApiContainerGetIndexProfileResponse) GetMsg() string + func (x *ApiContainerGetIndexProfileResponse) GetOk() int32 + func (x *ApiContainerGetIndexProfileResponse) ProtoReflect() protoreflect.Message + func (x *ApiContainerGetIndexProfileResponse) Reset() + func (x *ApiContainerGetIndexProfileResponse) String() string + type ApiContainerGetIndexProfileResponse_Data struct + UserInfo *ApiContainerGetIndexProfileResponse_Data_UserInfo + func (*ApiContainerGetIndexProfileResponse_Data) Descriptor() ([]byte, []int) + func (*ApiContainerGetIndexProfileResponse_Data) ProtoMessage() + func (x *ApiContainerGetIndexProfileResponse_Data) GetUserInfo() *ApiContainerGetIndexProfileResponse_Data_UserInfo + func (x *ApiContainerGetIndexProfileResponse_Data) ProtoReflect() protoreflect.Message + func (x *ApiContainerGetIndexProfileResponse_Data) Reset() + func (x *ApiContainerGetIndexProfileResponse_Data) String() string + type ApiContainerGetIndexProfileResponse_Data_UserInfo struct + Id int64 + ProfileImageUrl string + ProfileUrl string + ScreenName string + func (*ApiContainerGetIndexProfileResponse_Data_UserInfo) Descriptor() ([]byte, []int) + func (*ApiContainerGetIndexProfileResponse_Data_UserInfo) ProtoMessage() + func (x *ApiContainerGetIndexProfileResponse_Data_UserInfo) GetId() int64 + func (x *ApiContainerGetIndexProfileResponse_Data_UserInfo) GetProfileImageUrl() string + func (x *ApiContainerGetIndexProfileResponse_Data_UserInfo) GetProfileUrl() string + func (x *ApiContainerGetIndexProfileResponse_Data_UserInfo) GetScreenName() string + func (x *ApiContainerGetIndexProfileResponse_Data_UserInfo) ProtoReflect() protoreflect.Message + func (x *ApiContainerGetIndexProfileResponse_Data_UserInfo) Reset() + func (x *ApiContainerGetIndexProfileResponse_Data_UserInfo) String() string + type CacheCard struct + Name string + func NewCacheCard(card *Card, name string) *CacheCard + func (c *CacheCard) GetMSG() *mmsg.MSG + type Card struct + CardType CardType + ItemId string + LastWeiboCard bool + Mblog *Card_Mblog + Scheme string + func (*Card) Descriptor() ([]byte, []int) + func (*Card) ProtoMessage() + func (x *Card) GetCardType() CardType + func (x *Card) GetItemId() string + func (x *Card) GetLastWeiboCard() bool + func (x *Card) GetMblog() *Card_Mblog + func (x *Card) GetScheme() string + func (x *Card) ProtoReflect() protoreflect.Message + func (x *Card) Reset() + func (x *Card) String() string + type CardType int32 + const CardType_Normal + const CardType_Unknown + func (CardType) Descriptor() protoreflect.EnumDescriptor + func (CardType) EnumDescriptor() ([]byte, []int) + func (CardType) Type() protoreflect.EnumType + func (x CardType) Enum() *CardType + func (x CardType) Number() protoreflect.EnumNumber + func (x CardType) String() string + type Card_Mblog struct + CreatedAt string + Id string + IsTop int32 + Mid string + PicIds []string + Pics []*Card_Mblog_Pics + RawText string + RetweetedStatus *Card_Mblog + Text string + TextLength int32 + User *ApiContainerGetIndexProfileResponse_Data_UserInfo + Visible *Card_Mblog_Visible + func (*Card_Mblog) Descriptor() ([]byte, []int) + func (*Card_Mblog) ProtoMessage() + func (x *Card_Mblog) GetCreatedAt() string + func (x *Card_Mblog) GetId() string + func (x *Card_Mblog) GetIsTop() int32 + func (x *Card_Mblog) GetMid() string + func (x *Card_Mblog) GetPicIds() []string + func (x *Card_Mblog) GetPics() []*Card_Mblog_Pics + func (x *Card_Mblog) GetRawText() string + func (x *Card_Mblog) GetRetweetedStatus() *Card_Mblog + func (x *Card_Mblog) GetText() string + func (x *Card_Mblog) GetTextLength() int32 + func (x *Card_Mblog) GetUser() *ApiContainerGetIndexProfileResponse_Data_UserInfo + func (x *Card_Mblog) GetVisible() *Card_Mblog_Visible + func (x *Card_Mblog) ProtoReflect() protoreflect.Message + func (x *Card_Mblog) Reset() + func (x *Card_Mblog) String() string + type Card_Mblog_Pics struct + Large *Card_Mblog_Pics_Large + Pid string + Size string + Url string + func (*Card_Mblog_Pics) Descriptor() ([]byte, []int) + func (*Card_Mblog_Pics) ProtoMessage() + func (x *Card_Mblog_Pics) GetLarge() *Card_Mblog_Pics_Large + func (x *Card_Mblog_Pics) GetPid() string + func (x *Card_Mblog_Pics) GetSize() string + func (x *Card_Mblog_Pics) GetUrl() string + func (x *Card_Mblog_Pics) ProtoReflect() protoreflect.Message + func (x *Card_Mblog_Pics) Reset() + func (x *Card_Mblog_Pics) String() string + type Card_Mblog_Pics_Large struct + Size string + Url string + func (*Card_Mblog_Pics_Large) Descriptor() ([]byte, []int) + func (*Card_Mblog_Pics_Large) ProtoMessage() + func (x *Card_Mblog_Pics_Large) GetSize() string + func (x *Card_Mblog_Pics_Large) GetUrl() string + func (x *Card_Mblog_Pics_Large) ProtoReflect() protoreflect.Message + func (x *Card_Mblog_Pics_Large) Reset() + func (x *Card_Mblog_Pics_Large) String() string + type Card_Mblog_Visible struct + ListId int64 + Type int64 + func (*Card_Mblog_Visible) Descriptor() ([]byte, []int) + func (*Card_Mblog_Visible) ProtoMessage() + func (x *Card_Mblog_Visible) GetListId() int64 + func (x *Card_Mblog_Visible) GetType() int64 + func (x *Card_Mblog_Visible) ProtoReflect() protoreflect.Message + func (x *Card_Mblog_Visible) Reset() + func (x *Card_Mblog_Visible) String() string + type Concern struct + func NewConcern(notify chan<- concern.Notify) *Concern + func (Concern) MarkMblogIdKey(keys ...interface{}) string + func (Concern) NewsInfoKey(keys ...interface{}) string + func (Concern) UserInfoKey(keys ...interface{}) string + func (c *Concern) Add(ctx mmsg.IMsgCtx, groupCode int64, _id interface{}, ctype concern_type.Type) (concern.IdentityInfo, error) + func (c *Concern) FindOrLoadUserInfo(uid int64) (*UserInfo, error) + func (c *Concern) FindUserInfo(uid int64, load bool) (*UserInfo, error) + func (c *Concern) Get(id interface{}) (concern.IdentityInfo, error) + func (c *Concern) GetStateManager() concern.IStateManager + func (c *Concern) ParseId(s string) (interface{}, error) + func (c *Concern) Remove(ctx mmsg.IMsgCtx, groupCode int64, _id interface{}, ctype concern_type.Type) (concern.IdentityInfo, error) + func (c *Concern) Site() string + func (c *Concern) Start() error + func (c *Concern) Stop() + func (c *Concern) Types() []concern_type.Type + type ConcernNewsNotify struct + Card *CacheCard + GroupCode int64 + func NewConcernNewsNotify(groupCode int64, info *NewsInfo) []*ConcernNewsNotify + func (c *ConcernNewsNotify) GetGroupCode() int64 + func (c *ConcernNewsNotify) Logger() *logrus.Entry + func (c *ConcernNewsNotify) ToMessage() (m *mmsg.MSG) + func (c *ConcernNewsNotify) Type() concern_type.Type + type GenVisitorResponse struct + Data *GenVisitorResponse_Data + Msg string + Retcode int64 + func (*GenVisitorResponse) Descriptor() ([]byte, []int) + func (*GenVisitorResponse) ProtoMessage() + func (x *GenVisitorResponse) GetData() *GenVisitorResponse_Data + func (x *GenVisitorResponse) GetMsg() string + func (x *GenVisitorResponse) GetRetcode() int64 + func (x *GenVisitorResponse) ProtoReflect() protoreflect.Message + func (x *GenVisitorResponse) Reset() + func (x *GenVisitorResponse) String() string + type GenVisitorResponse_Data struct + Confidence int32 + NewTid bool + Tid string + func (*GenVisitorResponse_Data) Descriptor() ([]byte, []int) + func (*GenVisitorResponse_Data) ProtoMessage() + func (x *GenVisitorResponse_Data) GetConfidence() int32 + func (x *GenVisitorResponse_Data) GetNewTid() bool + func (x *GenVisitorResponse_Data) GetTid() string + func (x *GenVisitorResponse_Data) ProtoReflect() protoreflect.Message + func (x *GenVisitorResponse_Data) Reset() + func (x *GenVisitorResponse_Data) String() string + type NewsInfo struct + Cards []*Card + LatestNewsTs int64 + func (n *NewsInfo) Logger() *logrus.Entry + func (n *NewsInfo) Type() concern_type.Type + type StateManager struct + func NewStateManager(notify chan<- concern.Notify) *StateManager + func (*StateManager) MarkMblogIdKey(keys ...interface{}) string + func (*StateManager) NewsInfoKey(keys ...interface{}) string + func (*StateManager) UserInfoKey(keys ...interface{}) string + func (s *StateManager) AddNewsInfo(info *NewsInfo) error + func (s *StateManager) AddUserInfo(info *UserInfo) error + func (s *StateManager) GetNewsInfo(uid int64) (*NewsInfo, error) + func (s *StateManager) GetUserInfo(uid int64) (*UserInfo, error) + func (s *StateManager) MarkMblogId(mblogId string) (replaced bool, err error) + type UserInfo struct + Name string + ProfileImageUrl string + ProfileUrl string + Uid int64 + func (u *UserInfo) GetName() string + func (u *UserInfo) GetUid() interface{} + func (u *UserInfo) Logger() *logrus.Entry + func (u *UserInfo) Site() string + type VisitorIncarnateResponse struct + Data *VisitorIncarnateResponse_Data + Msg string + Retcode int64 + func (*VisitorIncarnateResponse) Descriptor() ([]byte, []int) + func (*VisitorIncarnateResponse) ProtoMessage() + func (x *VisitorIncarnateResponse) GetData() *VisitorIncarnateResponse_Data + func (x *VisitorIncarnateResponse) GetMsg() string + func (x *VisitorIncarnateResponse) GetRetcode() int64 + func (x *VisitorIncarnateResponse) ProtoReflect() protoreflect.Message + func (x *VisitorIncarnateResponse) Reset() + func (x *VisitorIncarnateResponse) String() string + type VisitorIncarnateResponse_Data struct + Sub string + Subp string + func (*VisitorIncarnateResponse_Data) Descriptor() ([]byte, []int) + func (*VisitorIncarnateResponse_Data) ProtoMessage() + func (x *VisitorIncarnateResponse_Data) GetSub() string + func (x *VisitorIncarnateResponse_Data) GetSubp() string + func (x *VisitorIncarnateResponse_Data) ProtoReflect() protoreflect.Message + func (x *VisitorIncarnateResponse_Data) Reset() + func (x *VisitorIncarnateResponse_Data) String() string