connectionpath

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: AGPL-3.0, AGPL-3.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
	MilestoneUnavailable
	MilestoneRecoveryRequested
	MilestoneTransportSelection
	MilestoneEvaluationUnavailable
)

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) Name

func (milestone Milestone) Name() (string, bool)

func (Milestone) RequiresServiceIdentity

func (milestone Milestone) RequiresServiceIdentity() bool

Unavailability can be reported before a service has been resolved.

func (Milestone) String

func (milestone Milestone) String() string

Jump to

Keyboard shortcuts

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