Versions in this module Expand all Collapse all v0 v0.1.1 Jul 30, 2026 Changes in this version + const DefaultBaseURL + type Error struct + Code string + DocsURL string + Message string + RetryAfter int + Status int + func (e *Error) Error() string + type Options struct + APIKey string + BaseURL string + ClaimToken string + DisplayDescription string + DisplayName string + HTTP *http.Client + SPAMode bool + Slug string + TTL time.Duration + type Result struct + ClaimToken string + ClaimURL string + ExpiresAt *time.Time + Files int + SiteURL string + Slug string + Uploaded int + func Publish(ctx context.Context, fsys fs.FS, opt Options) (*Result, error) v0.1.0 Jul 27, 2026