pairwise

package
v0.30.20 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callee

type Callee struct {
	Pairwise
	Caller core.DID
	Callee core.DID
}

func NewCalleePairwise

func NewCalleePairwise(msgFactor didcomm.MsgFactor, agent ssi.Agent,
	msg didcomm.PwMsg) (p *Callee)

func (*Callee) CheckPreallocation added in v0.25.9

func (p *Callee) CheckPreallocation(cnxAddr *endp.Addr)

func (*Callee) ConnReqToRespWithSet

func (p *Callee) ConnReqToRespWithSet(
	f func(m didcomm.PwMsg),
) (
	respMsg didcomm.PwMsg,
	err error,
)

type Pairwise

type Pairwise struct {
	Msg  didcomm.PwMsg // payload's inner message which will build by multiple functions
	Endp string        // name of the endpoint
	Name string        // name of the pairwise, used when stored to wallet
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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