Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const Host + type Client struct + BaseURL string + HTTP *http.Client + Rate time.Duration + Retries int + UserAgent string + func NewClient() *Client + func (c *Client) Get(ctx context.Context, rawURL string) ([]byte, error) + func (c *Client) GetAlerts(ctx context.Context, limit int) ([]SpaceAlert, error) + func (c *Client) GetFlares(ctx context.Context, limit int) ([]SolarFlare, error) + func (c *Client) GetKIndex(ctx context.Context, limit int) ([]KIndex, error) + func (c *Client) GetSolarWind(ctx context.Context) (*SolarWind, 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 KIndex struct + ARunning float64 + Activity string + Kp float64 + StationCount int + Time string + type SolarFlare struct + BeginClass string + BeginTime string + EndTime string + MaxClass string + MaxTime string + Satellite int + type SolarWind struct + ProtonSpeed int + Time string + type SpaceAlert struct + IssuedAt string + Message string + ProductID string