listen

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

type Listener struct {
	*update.Updater
	// contains filtered or unexported fields
}

func NewListener

func NewListener(db store.DB, updater *update.Updater) *Listener

func (*Listener) AddConnection

func (l *Listener) AddConnection(info *agency.JobInfo, data *agency.Connection)

func (*Listener) AddCredential

func (l *Listener) AddCredential(info *agency.JobInfo, data *agency.Credential)

func (*Listener) AddMessage

func (l *Listener) AddMessage(info *agency.JobInfo, data *agency.Message)

func (*Listener) AddProof

func (l *Listener) AddProof(info *agency.JobInfo, data *agency.Proof)

func (*Listener) UpdateCredential

func (l *Listener) UpdateCredential(info *agency.JobInfo, data *agency.CredentialUpdate)

func (*Listener) UpdateMessage

func (l *Listener) UpdateMessage(info *agency.JobInfo, _ *agency.MessageUpdate)

func (*Listener) UpdateProof

func (l *Listener) UpdateProof(info *agency.JobInfo, data *agency.ProofUpdate)

Jump to

Keyboard shortcuts

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