agent

package
v0.24.19 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionCmd

type ConnectionCmd struct {
	cmds.Cmd
	didexchange.Invitation
}

func (ConnectionCmd) Exec

func (c ConnectionCmd) Exec(progress io.Writer) (r cmds.Result, err error)

func (ConnectionCmd) Validate

func (c ConnectionCmd) Validate() error

type ExportCmd

type ExportCmd struct {
	cmds.Cmd

	WalletKeyLegacy bool

	Filename  string
	ExportKey string
}

func (ExportCmd) Exec

func (c ExportCmd) Exec(w io.Writer) (r Result, err error)

func (ExportCmd) Validate

func (c ExportCmd) Validate() error

type ImportCmd

type ImportCmd struct {
	cmds.Cmd
	Filename string
	Key      string
}

func (ImportCmd) Exec

func (c ImportCmd) Exec(w io.Writer) (r Result, err error)

func (ImportCmd) Validate

func (c ImportCmd) Validate() error

type InvitationCmd

type InvitationCmd struct {
	cmds.Cmd
	ID   string
	Name string
}

func (InvitationCmd) Exec

func (c InvitationCmd) Exec(w io.Writer) (r cmds.Result, err error)

func (InvitationCmd) Validate

func (c InvitationCmd) Validate() error

type InvitationResult

type InvitationResult struct {
	didexchange.Invitation
}

func (InvitationResult) JSON

func (r InvitationResult) JSON() ([]byte, error)

type ListenCmd

type ListenCmd struct {
	cmds.Cmd
	NotifyChan
}

func (ListenCmd) Exec

func (c ListenCmd) Exec(w io.Writer) (r cmds.Result, err error)

type NotifyChan

type NotifyChan chan mesg.Payload

type PingCmd

type PingCmd struct {
	cmds.Cmd
	PingSA  bool
	DIDOnly bool
	JWT     bool
}

func (PingCmd) Exec

func (c PingCmd) Exec(w io.Writer) (r cmds.Result, err error)

func (PingCmd) Validate

func (c PingCmd) Validate() error

type Result

type Result struct{}

func (Result) JSON

func (r Result) JSON() ([]byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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