Versions in this module Expand all Collapse all v0 v0.2.0 May 14, 2026 v0.1.0 May 12, 2026 Changes in this version + const AcceptHeader + const DefaultTimeout + const ProtocolVersion + const SDKVersion + const WellKnownPath + func IsHTTPStatusError(err error) bool + func WellKnownURL(origin string) string + type AnswerConstraints struct + FreshnessWindowDays int + MustInclude []string + MustNotInclude []string + type Audit struct + EndpointSchema string + EndpointURI string + Mode AuditMode + Signature string + SigningKeyURI string + type AuditMode string + const AuditEndpoint + const AuditNone + const AuditSignature + type Authority struct + EvidenceLinks []string + PrimarySources []string + Verifications []Verification + type CitationPreferences struct + CanonicalLinks []string + DoNotCite []string + PreferredAttribution string + type Claim struct + Confidence Confidence + Evidence []string + ID string + Predicate string + ValidFrom string + ValidUntil *string + Value interface{} + type Client struct + HTTPClient *http.Client + func DefaultClient() *Client + func (c *Client) FetchWellKnown(ctx context.Context, origin string) (*Document, error) + type Confidence string + const ConfidenceHigh + const ConfidenceLow + const ConfidenceMedium + type Document struct + AEOVersion string + AnswerConstraints *AnswerConstraints + Audit *Audit + Authority Authority + CitationPreferences *CitationPreferences + Claims []Claim + Entity Entity + func FetchWellKnown(origin string) (*Document, error) + func LoadDocument(path string) (*Document, error) + func ParseDocument(raw []byte) (*Document, error) + func ParseDocumentString(raw string) (*Document, error) + func (d *Document) ClaimIDs() []string + func (d *Document) FindClaim(id string) *Claim + func (d *Document) Marshal() ([]byte, error) + type Entity struct + Aliases []string + CanonicalURL string + ID string + Name string + Type EntityType + type EntityType string + const EntityConcept + const EntityOrganization + const EntityPerson + const EntityPlace + const EntityProduct + type HTTPStatusError struct + Status int + URL string + func (e *HTTPStatusError) Error() string + type Verification struct + ProofURI string + Type VerificationType + Value string + type VerificationType string + const VerificationDNS + const VerificationDomain + const VerificationGPG + const VerificationGitHub + const VerificationLinkedIn + const VerificationWellKnownURI