kernelctx

package
v0.0.0-...-83e77c6 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package kernelctx enables the server side kernel interface to be stored in the context

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServerInterface

func ServerInterface(ctx context.Context) *linuxinterfaces.Interface

ServerInterface - retrieve server interface from the context

func WithServerInterface

func WithServerInterface(ctx context.Context, iface *linuxinterfaces.Interface) context.Context

WithServerInterface - Server interface iface to the context

Types

This section is empty.

Jump to

Keyboard shortcuts

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