Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const Host + type Alert struct + Category string + Description string + ID string + ParkCode string + Title string + URL string + type AlertsInput struct + Limit int + ParkCode string + Start int + type Campground struct + Description string + ID string + Latitude string + Longitude string + Name string + ParkCode string + ReservableSites string + URL string + WalkupSites string + type CampgroundsInput struct + Limit int + ParkCode string + Start int + State string + type Client struct + func NewClient(cfg Config) *Client + func (c *Client) Alerts(ctx context.Context, in AlertsInput) ([]Alert, error) + func (c *Client) Campgrounds(ctx context.Context, in CampgroundsInput) ([]Campground, error) + func (c *Client) Parks(ctx context.Context, in ParksInput) ([]Park, error) + func (c *Client) VisitorCenters(ctx context.Context, in VisitorCentersInput) ([]VisitorCenter, error) + type Config struct + APIKey string + 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 Park struct + Code string + Description string + ID string + LatLong string + Name string + States string + URL string + type ParksInput struct + Limit int + ParkCode string + Start int + State string + type VisitorCenter struct + Description string + ID string + Latitude string + Longitude string + Name string + ParkCode string + URL string + type VisitorCentersInput struct + Limit int + ParkCode string + Start int + State string