Documentation
¶
Overview ¶
Package connectionpath defines transport-neutral path lifecycle facts.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CleanupOutcome ¶
type CleanupOutcome uint8
CleanupOutcome describes local TURN teardown. Protocol cleanup does not assert that the remote service acknowledged allocation deletion.
const ( CleanupProtocol CleanupOutcome = iota + 1 CleanupDeadline )
func (CleanupOutcome) EventKind ¶
func (outcome CleanupOutcome) EventKind() string
func (CleanupOutcome) Reason ¶
func (outcome CleanupOutcome) Reason() string
func (CleanupOutcome) Valid ¶
func (outcome CleanupOutcome) Valid() bool
type Milestone ¶
type Milestone uint8
Milestone belongs to the TURN lifecycle. Consumers retain this vocabulary instead of maintaining a second list that can reject a producer's new event.
const ( MilestoneIssuanceStarted Milestone = iota + 1 MilestoneIssuanceFailed MilestoneIssuanceDiscarded MilestoneCredentialsDelegated MilestoneReplacementAdmitted MilestonePathRetired MilestoneUsefulContent MilestoneConnecting MilestoneReady MilestoneRetired MilestoneRecoveryRequested MilestoneTransportSelection )
func Milestones ¶
func Milestones() []Milestone
Milestones lets adapters exercise the complete source contract. The range is derived from the enum, so adding a value also adds it to consumer contract tests.
func (Milestone) RequiresServiceIdentity ¶
Unavailability can be reported before a service has been resolved.