agentdata

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: Apache-2.0, MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentData

type AgentData struct {
	Principal   principal.Signer
	Delegations []delegation.Delegation
}

func ReadFromFile

func ReadFromFile(path string) (AgentData, error)

func (AgentData) MarshalJSON

func (ad AgentData) MarshalJSON() ([]byte, error)

func (*AgentData) UnmarshalJSON

func (ad *AgentData) UnmarshalJSON(b []byte) error

func (AgentData) WriteToFile

func (ad AgentData) WriteToFile(path string) error

Jump to

Keyboard shortcuts

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