Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BatchRequest ¶
type BatchRequest struct {
// contains filtered or unexported fields
}
func New ¶
func New(appKey, appSecret, url string, body request.Values, pageNumField, pageSizeField, totalField string) BatchRequest
func (*BatchRequest) Execute ¶
func (batreq *BatchRequest) Execute() (<-chan request.Values, <-chan error)
request.Values 是每次请求的返回值(每页)
func (BatchRequest) PageCount ¶
func (batreq BatchRequest) PageCount() int
type ListByPage ¶
type ListByPage func(pageNumber int) (ListResponse, error)
type ListResponse ¶
Click to show internal directories.
Click to hide internal directories.