ucan

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Type

func Type() schema.Type

Types

type CapabilityModel

type CapabilityModel struct {
	With string
	Can  string
	Nb   NbModel
}

type FactModel

type FactModel struct {
	Keys   []string
	Values map[string]datamodel.Node
}

type NbModel

type NbModel struct {
	Keys   []string
	Values map[string]datamodel.Node
}

type UCANModel

type UCANModel struct {
	V   string
	Iss []byte
	Aud []byte
	S   []byte
	Att []CapabilityModel
	Prf []ipld.Link
	Exp uint64
	Fct []FactModel
	Nnc *string
	Nbf *uint64
}

Jump to

Keyboard shortcuts

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