Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bouncer ¶
type Bouncer interface { InvitationMsg(e service.DIDCommAction, invite *didexchange.Invitation) RequestMsg(e service.DIDCommAction, request *didexchange.Request) EstablishConnection(invitation *didclient.Invitation, timeout time.Duration) (*didclient.Connection, error) EstablishConnectionNotify(invitation *didclient.Invitation, success NotifySuccess, nerr NotifyError) error CreateInvitation(name string) (*didclient.Invitation, error) CreateInvitationNotify(name string, success NotifySuccess, nerr NotifyError) (*didclient.Invitation, error) CreateInvitationWithDIDNotify(name, did string, success NotifySuccess, nerr NotifyError) (*didclient.Invitation, error) Unregister(ch chan service.StateMsg) }
func NewBouncer ¶
type ConnectionFunc ¶
type ConnectionFunc func(didexchange.Connection)
type Handler ¶
type Handler interface { InvitationMsg(e service.DIDCommAction, d *pdid.Invitation) RequestMsg(e service.DIDCommAction, d *pdid.Request) }
type HandlerFunc ¶
type HandlerFunc func(service.DIDCommAction)
type NotifyError ¶
type NotifySuccess ¶
type NotifySuccess func(invitationID string, conn *didclient.Connection)
type Supervisor ¶
func New ¶
func New(ctx provider) (*Supervisor, error)
func (*Supervisor) Start ¶
func (r *Supervisor) Start(h Handler) error
Click to show internal directories.
Click to hide internal directories.