Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2026 Changes in this version + const APIBase + const BaseURL + const Host + type Category struct + NS int + PageID int + Title string + type Client struct + BaseURL string + HTTP *http.Client + Rate time.Duration + Retries int + UserAgent string + func NewClient(cfg Config) *Client + func (c *Client) GetFile(ctx context.Context, title string) (*File, error) + func (c *Client) ListCategory(ctx context.Context, name string, limit int) ([]*Category, error) + func (c *Client) RecentUploads(ctx context.Context, limit int) ([]*File, error) + func (c *Client) SearchFiles(ctx context.Context, query string, limit, offset int) ([]*File, error) + type Config struct + BaseURL string + Rate time.Duration + Retries int + Timeout time.Duration + UserAgent string + func DefaultConfig() Config + type Domain struct + func (Domain) Classify(input string) (uriType, id string, err error) + func (Domain) Info() kit.DomainInfo + func (Domain) Locate(uriType, id string) (string, error) + func (Domain) Register(app *kit.App) + type File struct + Author string + Date string + Description string + FileName string + License string + MediaType string + PageID int + Size int + Title string + URL string