Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const BaseURL + const Host + type Client struct + func NewClient(cfg Config) *Client + func (c *Client) Films(ctx context.Context) ([]Film, error) + func (c *Client) People(ctx context.Context, search string, limit int) ([]Person, error) + func (c *Client) Planets(ctx context.Context, search string, limit int) ([]Planet, error) + func (c *Client) Species(ctx context.Context, search string, limit int) ([]Species, error) + func (c *Client) Starships(ctx context.Context, search string, limit int) ([]Starship, error) + func (c *Client) Vehicles(ctx context.Context, search string, limit int) ([]Vehicle, 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) (string, string, error) + func (Domain) Info() kit.DomainInfo + func (Domain) Locate(t, id string) (string, error) + func (Domain) Register(app *kit.App) + type Film struct + Director string + EpisodeID int + Producer string + ReleaseDate string + Title string + URL string + type Person struct + BirthYear string + Gender string + HairColor string + Height string + Mass string + Name string + URL string + type Planet struct + Climate string + Name string + Population string + Terrain string + URL string + type Species struct + AverageLifespan string + Classification string + Language string + Name string + URL string + type Starship struct + HyperdriveRating string + Manufacturer string + Model string + Name string + StarshipClass string + URL string + type Vehicle struct + Manufacturer string + Model string + Name string + URL string + VehicleClass string