Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2026 Changes in this version + const DefaultUserAgent + const Host + type Client struct + 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) NearestObjects(ctx context.Context, ra, dec, radius float64, limit int) ([]*PhotoObject, error) + func (c *Client) QuerySQL(ctx context.Context, sql string) ([]map[string]json.RawMessage, error) + func (c *Client) SearchPhotometry(ctx context.Context, minMag, maxMag float64, limit int) ([]*PhotoObject, error) + func (c *Client) SearchSpectra(ctx context.Context, class string, minZ, maxZ float64, limit int) ([]*Spectrum, error) + 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 PhotoObject struct + Dec float64 + ID string + MagG float64 + MagI float64 + MagR float64 + MagU float64 + MagZ float64 + RA float64 + Type string + type Spectrum struct + Class string + Dec float64 + ID string + RA float64 + Redshift float64 + SubClass string