Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2026 Changes in this version + const BaseURL + const Host + type Client struct + func NewClient() *Client + func NewClientAt(baseURL string) *Client + func (c *Client) GetCount(ctx context.Context, minMag float64) (int, error) + func (c *Client) GetCountAt(ctx context.Context, baseURL string, minMag float64) (int, error) + func (c *Client) SearchEvents(ctx context.Context, minMag, maxMag float64, startTime, endTime string, ...) ([]*Event, error) + func (c *Client) SearchEventsAt(ctx context.Context, baseURL string, minMag, maxMag float64, ...) ([]*Event, 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(uriType, id string) (string, error) + func (Domain) Register(app *kit.App) + type Event struct + Auth string + Depth float64 + EventType string + ID string + Latitude float64 + Longitude float64 + MagType string + Magnitude float64 + Region string + SourceCatalog string + Time string + type EventCount struct + Total int