Documentation
¶
Index ¶
- type CatByTag
- type Cataas
- func (c *Cataas) Download(path string) (err error)
- func (c *Cataas) Encode() *url.URL
- func (c *Cataas) EncodeById(id string) *url.URL
- func (c *Cataas) Get() (data []byte, err error)
- func (c *Cataas) GetAllTags() (tags []string, err error)
- func (c *Cataas) GetCats(tags []string, options *GetCatsOptions) (cats []*CatByTag, err error)
- type Filter
- type GetCatsOptions
- type Size
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cataas ¶
type Cataas struct { Gif bool Tag string Text string Width uint Height uint TextSize uint TextColor string Size Size Filter Filter }
Cataas API wrapper
func (*Cataas) EncodeById ¶
returns the encoded url by using the id of the image
type GetCatsOptions ¶
Click to show internal directories.
Click to hide internal directories.