datamodel

package
v0.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2026 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttestationType

func AttestationType() schema.Type

func ExpiredType

func ExpiredType() schema.Type

func InvalidAudienceType

func InvalidAudienceType() schema.Type

func NotValidBeforeType

func NotValidBeforeType() schema.Type

Types

type AttestationModel

type AttestationModel struct {
	Proof ipld.Link
}

func (AttestationModel) ToIPLD

func (m AttestationModel) ToIPLD() (ipld.Node, error)

type Delegation

type Delegation struct {
	Audience string
}

type ExpiredModel

type ExpiredModel struct {
	Name      *string
	Message   string
	ExpiredAt int64
	Stack     *string
}

type InvalidAudienceModel

type InvalidAudienceModel struct {
	Name       *string
	Audience   string
	Delegation Delegation
	Message    string
	Stack      *string
}

type NotValidBeforeModel

type NotValidBeforeModel struct {
	Name    *string
	Message string
	ValidAt int64
	Stack   *string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL