Versions in this module Expand all Collapse all v0 v0.1.4 Aug 19, 2026 v0.1.3 Aug 19, 2026 Changes in this version + func Optional(s string) *string v0.1.2 Aug 18, 2026 Changes in this version + func ValidateShape(s SignedManifest) error type Assertion + func (a *Assertion) UnmarshalJSON(data []byte) error + func (a Assertion) MarshalJSON() ([]byte, error) type Asset + func (a *Asset) UnmarshalJSON(data []byte) error + func (a Asset) MarshalJSON() ([]byte, error) type GeneratorInfo + func (g *GeneratorInfo) UnmarshalJSON(data []byte) error + func (g GeneratorInfo) MarshalJSON() ([]byte, error) type Signature + func (s *Signature) UnmarshalJSON(data []byte) error + func (s Signature) MarshalJSON() ([]byte, error) v0.1.1 Aug 3, 2026 v0.1.0 Aug 2, 2026 Changes in this version + const ContextURI + const CredSigTag + const ManifestType + func DefaultMining() map[string]string + func Digest(s SignedManifest) ([]byte, error) + func Verify(s SignedManifest) error + type AIRange struct + EventID string + From int + Hash string + Model string + To int + When string + type Assertion struct + Data json.RawMessage + Label string + type Asset struct + MIME string + SHA256 string + Size int64 + Title string + URL string + type BuildInput struct + AIRanges []AIRange + Asset Asset + ChainLen int + CreatedAt time.Time + Generator GeneratorInfo + Mining map[string]string + type GeneratorInfo struct + Name string + URL string + Version string + type Manifest struct + Assertions []Assertion + Asset Asset + ClaimGenerator string + Context string + CreatedAt time.Time + GeneratorInfo GeneratorInfo + Type string + func Build(in BuildInput) (Manifest, error) + type Signature struct + Alg string + PublicKey string + Value string + type SignedManifest struct + Signature Signature + func Sign(m Manifest, key ed25519.PrivateKey) (SignedManifest, error) + func (s *SignedManifest) UnmarshalJSON(b []byte) error + func (s SignedManifest) MarshalJSON() ([]byte, error)