Documentation ¶
Index ¶
- func GetAdvSearchResultPage(kw, un string, rn int, pn int) (string, error)
- type AdvSearchAuthor
- type AdvSearchResult
- func (a AdvSearchResult) PContentIsComplete() bool
- func (a AdvSearchResult) PGetAuthor() postbar.IAuthor
- func (a AdvSearchResult) PGetContentList() []postbar.Content
- func (a AdvSearchResult) PGetFloor() (bool, int)
- func (a AdvSearchResult) PGetOriginalContentList() (bool, []interface{})
- func (a AdvSearchResult) PGetPid() uint64
- func (a AdvSearchResult) PGetPostTime() (bool, time.Time)
- type AdvSearchThread
- func (t AdvSearchThread) TContentIsComplete() bool
- func (t AdvSearchThread) TGetAuthor() postbar.IAuthor
- func (t AdvSearchThread) TGetContentList() []postbar.Content
- func (t AdvSearchThread) TGetIsGood() (bool, bool)
- func (t AdvSearchThread) TGetIsTop() (bool, bool)
- func (t AdvSearchThread) TGetLastReplyTime() (bool, time.Time)
- func (t AdvSearchThread) TGetLastReplyer() postbar.IAuthor
- func (t AdvSearchThread) TGetReplyNum() (bool, uint32)
- func (t AdvSearchThread) TGetTid() uint64
- func (t AdvSearchThread) TGetTitle() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdvSearchAuthor ¶
type AdvSearchAuthor struct { postbar.IAuthor Name string }
func (AdvSearchAuthor) AGetID ¶
func (a AdvSearchAuthor) AGetID() (bool, uint64)
func (AdvSearchAuthor) AGetIsLike ¶
func (a AdvSearchAuthor) AGetIsLike() (bool, bool)
func (AdvSearchAuthor) AGetLevel ¶
func (a AdvSearchAuthor) AGetLevel() (bool, uint8)
func (AdvSearchAuthor) AGetName ¶
func (a AdvSearchAuthor) AGetName() string
func (AdvSearchAuthor) AGetPortrait ¶
func (a AdvSearchAuthor) AGetPortrait() (bool, string)
type AdvSearchResult ¶
type AdvSearchResult struct { postbar.IPost Tid uint64 Pid uint64 IsReply bool Title string Content string Forum string PostTime time.Time Author AdvSearchAuthor }
func GetAdvSearchResultList ¶
func GetAdvSearchResultList(kw, un string, rn, pn int) ([]AdvSearchResult, error)
func OldGetAdvSearchResultList ¶
func OldGetAdvSearchResultList(kw, un string, rn, pn int) ([]AdvSearchResult, error)
没有Forum
func ParseAdvSearchDocument ¶
func ParseAdvSearchDocument(doc *goquery.Document) []AdvSearchResult
func (AdvSearchResult) PContentIsComplete ¶
func (a AdvSearchResult) PContentIsComplete() bool
func (AdvSearchResult) PGetAuthor ¶
func (a AdvSearchResult) PGetAuthor() postbar.IAuthor
func (AdvSearchResult) PGetContentList ¶
func (a AdvSearchResult) PGetContentList() []postbar.Content
func (AdvSearchResult) PGetFloor ¶
func (a AdvSearchResult) PGetFloor() (bool, int)
func (AdvSearchResult) PGetOriginalContentList ¶
func (a AdvSearchResult) PGetOriginalContentList() (bool, []interface{})
func (AdvSearchResult) PGetPid ¶
func (a AdvSearchResult) PGetPid() uint64
func (AdvSearchResult) PGetPostTime ¶
func (a AdvSearchResult) PGetPostTime() (bool, time.Time)
type AdvSearchThread ¶
func (AdvSearchThread) TContentIsComplete ¶
func (t AdvSearchThread) TContentIsComplete() bool
func (AdvSearchThread) TGetAuthor ¶
func (t AdvSearchThread) TGetAuthor() postbar.IAuthor
func (AdvSearchThread) TGetContentList ¶
func (t AdvSearchThread) TGetContentList() []postbar.Content
func (AdvSearchThread) TGetIsGood ¶
func (t AdvSearchThread) TGetIsGood() (bool, bool)
func (AdvSearchThread) TGetIsTop ¶
func (t AdvSearchThread) TGetIsTop() (bool, bool)
func (AdvSearchThread) TGetLastReplyTime ¶
func (t AdvSearchThread) TGetLastReplyTime() (bool, time.Time)
func (AdvSearchThread) TGetLastReplyer ¶
func (t AdvSearchThread) TGetLastReplyer() postbar.IAuthor
func (AdvSearchThread) TGetReplyNum ¶
func (t AdvSearchThread) TGetReplyNum() (bool, uint32)
func (AdvSearchThread) TGetTid ¶
func (t AdvSearchThread) TGetTid() uint64
func (AdvSearchThread) TGetTitle ¶
func (t AdvSearchThread) TGetTitle() string
Click to show internal directories.
Click to hide internal directories.