connection

package
v0.24.27 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicMsgCmd

type BasicMsgCmd struct {
	Cmd
	Message string
	Sender  string
}

func (BasicMsgCmd) Exec

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

type Cmd

type Cmd struct {
	cmds.Cmd
	Name string
}

func (Cmd) Exec

func (c Cmd) Exec(p io.Writer, t string, m *mesg.Msg) (r cmds.Result, err error)

func (Cmd) Validate

func (c Cmd) Validate() error

type IssueCmd

type IssueCmd struct {
	Cmd
	CredDefID  string
	Attributes string
}

func (IssueCmd) Exec

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

func (IssueCmd) Validate

func (c IssueCmd) Validate() error

type ReqProofCmd

type ReqProofCmd struct {
	Cmd
	Attributes string
}

func (ReqProofCmd) Exec

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

func (ReqProofCmd) Validate

func (c ReqProofCmd) Validate() error

type Result

type Result struct {
	TaskID string
	Ready  bool
}

func (Result) JSON

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

type TrustPingCmd

type TrustPingCmd struct {
	Cmd
}

func (TrustPingCmd) Exec

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

Jump to

Keyboard shortcuts

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