channel

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: AGPL-3.0 Imports: 2 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 channel observes transport lifetimes for the credential binding.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectionLifetime

func ConnectionLifetime(ctx context.Context) context.Context

ConnectionLifetime returns the lifetime of the socket which received the RPC. A server without the credential observer cannot attest such a lifetime.

Types

type ConnectionObserver

type ConnectionObserver struct{}

ConnectionObserver attaches an irrevocable end signal to each gRPC server transport. RPCs inherit the tag from their own connection, not from a map keyed by an address, a certificate, or the current ClientConn state. It does not inspect, extract, or record RPC data.

func (ConnectionObserver) HandleConn

func (ConnectionObserver) HandleConn(ctx context.Context, event stats.ConnStats)

func (ConnectionObserver) HandleRPC

func (ConnectionObserver) TagConn

func (ConnectionObserver) TagRPC

Jump to

Keyboard shortcuts

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