ports

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPortsMissing = errors.New("ports collection not in the context")

Functions

func GetPorts

func GetPorts(ctx context.Context) (*ports.Collection, bool)

GetPorts will get the ports from the context.

func WithPorts

func WithPorts(ctx context.Context, ports *ports.Collection) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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