Versions in this module Expand all Collapse all v0 v0.4.1 Dec 21, 2016 v0.3.3 Nov 30, 2016 v0.3.2 Nov 29, 2016 v0.3.1 Nov 29, 2016 v0.2.1 Nov 28, 2016 Changes in this version + var StaticImageSizes = []string + type Api struct + Bib string + Cid string + Content *ContentResponse + ContentInfo *ContentInfoResponse + ContentServer string + Descrambler *Descrambler + FullPages []string + K string + Pages []string + Params ParamsGetter + ServerType ContentServerType + Session *http.Client + func NewApi(bib, cid string, session *http.Client, params ParamsGetter) *Api + func (binb *Api) GetContent() error + func (binb *Api) GetContentInfo() error + func (binb *Api) GetImage(page int) (io.ReadCloser, error) + type ContentInfoResponse struct + Abstract string + Atbl string + Authors []struct{ ... } + Categories []string + ContentID string + ContentType string + ContentsServer string + Ctbl string + P string + Ptbl string + ServerType ContentServerType + Title string + TitleRuby string + Ttbl string + type ContentResponse struct + ContentDate string + ConverterType string + ConverterVersion string + NecImageCnt int + NecImageSize int + Prop string + SBCVersion string + SmlImageCnt int + Ttx string + type ContentServerType int + const ServerTypeSbc + const ServerTypeStatic + const ServerTypeUnset + type Descrambler struct + Ctbl []string + Ptbl []string + func NewDescrambler(ctbl, ptbl []string) (*Descrambler, error) + func (ds *Descrambler) Descramble(filename string, reader io.Reader) (image.Image, error) + type ParamsGetter func(binb *Api, method string) map[string][]string + type Response struct + Items []json.RawMessage + Result int