Versions in this module Expand all Collapse all v1 v1.0.1 Jul 8, 2020 Changes in this version + func Add(clt *core.Client, para *AddParameters) (pageId int64, err error) + func Delete(clt *core.Client, pageIds []int64) (err error) + func Update(clt *core.Client, para *UpdateParameters) (err error) + type AddParameters struct + Comment string + Description string + IconURL string + PageURL string + Title string + type Page struct + Comment string + Description string + IconURL string + PageId int64 + PageURL string + Title string + type PageIterator struct + func NewPageIterator(clt *core.Client, query *SearchQuery) (iter *PageIterator, err error) + func (iter *PageIterator) HasNext() bool + func (iter *PageIterator) NextPage() (pages []Page, err error) + func (iter *PageIterator) TotalCount() int + type SearchQuery struct + Begin *int + Count *int + PageIds []int64 + Type int + func NewSearchQuery1(pageIds []int64) *SearchQuery + func NewSearchQuery2(begin, count int) *SearchQuery + type SearchResult struct + ItemCount int + Pages []Page + TotalCount int + func Search(clt *core.Client, query *SearchQuery) (rslt *SearchResult, err error) + type UpdateParameters struct + Comment string + Description string + IconURL string + PageId int64 + PageURL string + Title string