advsearch

package
v0.0.0-...-29d1847 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2015 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAdvSearchResultPage

func GetAdvSearchResultPage(kw, un string, rn int, pn int) (string, error)

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

type AdvSearchThread struct {
	postbar.IThread
	Tid   uint64
	Title string
}

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

Jump to

Keyboard shortcuts

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