Documentation
¶
Overview ¶
Package session defines shared session errors, limits and lane identities. Session roles are implemented by sendersession and receiversession; observation contains their immutable event vocabulary.
Index ¶
Constants ¶
const ( DefaultActiveOperations = 256 DefaultTrackedOperations = 4_096 SessionStoppedCode = protocolsession.SessionTerminalCodeLast MaximumTerminalMessageBytes = protocolsession.MaxSessionTerminalMessageBytes )
Variables ¶
var ( ErrRuntimeConfig = errors.New("session runtime configuration is invalid") ErrRuntimeClosed = errors.New("session runtime is closed") ErrHandshake = errors.New("session runtime handshake failed") )
var ErrOperationMissing = errors.New("session runtime operation is not active")
var ErrOperationOverflow = errors.New("session runtime operation response queue is full")
Functions ¶
This section is empty.
Types ¶
type LaneIdentity ¶
LaneIdentity names one physical FrameChannel incarnation without leaking any provider or path metadata into core. Epoch zero is reserved for the transcript lane; authenticated attachments always use a positive epoch.
func (LaneIdentity) Valid ¶
func (identity LaneIdentity) Valid(initial bool) bool
type LaneRejectedError ¶
type LaneRejectedError struct {
Rejection protocolsession.LaneRejection
}
LaneRejectedError is safe to expose only after WS2N's sender signature has been verified against the exact LaneHello digest.
func (*LaneRejectedError) Error ¶
func (err *LaneRejectedError) Error() string
Directories
¶
| Path | Synopsis |
|---|---|
|
Package catalogflow handles the share descriptor and progressive LIST_CHILDREN.
|
Package catalogflow handles the share descriptor and progressive LIST_CHILDREN. |
|
Package channeltest defines the transport-neutral FrameChannel behavior matrix.
|
Package channeltest defines the transport-neutral FrameChannel behavior matrix. |
|
Package contentflow implements the v2 revision and file-local block operation semantics above protocolsession's authenticated opaque-message boundary.
|
Package contentflow implements the v2 revision and file-local block operation semantics above protocolsession's authenticated opaque-message boundary. |
|
internal
|
|
|
admissiongate
Package admissiongate joins short-lived work before its owner's resources are released.
|
Package admissiongate joins short-lived work before its owner's resources are released. |
|
sessioncore
Package sessioncore owns encrypted lanes, exact-generation operation routing, and role-neutral session termination.
|
Package sessioncore owns encrypted lanes, exact-generation operation routing, and role-neutral session termination. |
|
Package sessionobs defines transport-neutral session observations and bounded diagnostic snapshots.
|
Package sessionobs defines transport-neutral session observations and bounded diagnostic snapshots. |
|
Package peerslot owns bounded negotiation identities for one receiver session.
|
Package peerslot owns bounded negotiation identities for one receiver session. |
|
Package protocolsession implements the authenticated end-to-end session primitives shared by protocol roles.
|
Package protocolsession implements the authenticated end-to-end session primitives shared by protocol roles. |
|
Package receivercontinuation retains transfer dependencies across authenticated protocol generations without extending the lifetime of any session authority.
|
Package receivercontinuation retains transfer dependencies across authenticated protocol generations without extending the lifetime of any session authority. |
|
Package receiversession owns download-side catalog, revision, block and peer operations.
|
Package receiversession owns download-side catalog, revision, block and peer operations. |
|
Package requestlane estimates control-response completion independently of content throughput, transport providers, and operation delivery authority.
|
Package requestlane estimates control-response completion independently of content throughput, transport providers, and operation delivery authority. |
|
Package revisionaccess keeps a receiver's immutable file identity independent of the expiring wire capabilities used to read it.
|
Package revisionaccess keeps a receiver's immutable file identity independent of the expiring wire capabilities used to read it. |
|
Package sendersession owns sharing-side session admission, catalog and content services, and orderly shutdown.
|
Package sendersession owns sharing-side session admission, catalog and content services, and orderly shutdown. |
|
Package turncontrol defines session-authenticated TURN delegation messages.
|
Package turncontrol defines session-authenticated TURN delegation messages. |