bus

package
v0.24.22 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AllAgents = "*"

Variables

View Source
var (
	AgentMaps = [...]agentLockMap{
		{/* contains filtered or unexported fields */},
		{/* contains filtered or unexported fields */},
		{/* contains filtered or unexported fields */},
	}

	WantAllAgentActions  mapIndex = agentListen
	WantAllAgencyActions mapIndex = agencyListen
	WantAllPSMCleanup    mapIndex = psmCleanup
)
View Source
var Maps = [...]lockMap{{/* contains filtered or unexported fields */}, {/* contains filtered or unexported fields */}}
View Source
var ReadyStation = New()
View Source
var WantAll mapIndex = allStates
View Source
var WantAllAgentAnswers mapIndex = agentToAsk
View Source
var WantUserActions mapIndex = userActions

Functions

This section is empty.

Types

type AgentAnswer

type AgentAnswer struct {
	ID QuestionKeyType
	AgentKeyType

	ACK  bool
	Info string
}

type AgentAnswerChan

type AgentAnswerChan chan AgentAnswer

type AgentKeyType

type AgentKeyType struct {
	AgentDID string
	ClientID string
}

type AgentNotify

type AgentNotify struct {
	AgentKeyType
	ID               string
	PID              string
	NotificationType string
	ConnectionID     string
	ProtocolID       string
	ProtocolFamily   string
	Timestamp        int64
	Initiator        bool
	*IssuePropose
	*ProofVerify
}

type AgentQuestion

type AgentQuestion struct {
	AgentNotify
	AgentAnswerChan
}

type AgentQuestionChan

type AgentQuestionChan chan AgentQuestion

type AgentStateChan

type AgentStateChan chan AgentNotify

type IssuePropose

type IssuePropose struct {
	CredDefID  string
	ValuesJSON string
}

type KeyType

type KeyType = psm.StateKey

type ProofVerify

type ProofVerify struct {
	Attrs []didcomm.ProofValue
}

type QuestionKeyType

type QuestionKeyType = string

type Ready

type Ready chan bool

type StateChan

type StateChan chan psm.SubState

type Station

type Station struct {
	// contains filtered or unexported fields
}

func New

func New() *Station

func (*Station) BroadcastReady

func (s *Station) BroadcastReady(key KeyType, ok bool)

func (*Station) StartListen

func (s *Station) StartListen(key KeyType) <-chan bool

Jump to

Keyboard shortcuts

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