util

package
v1.1.23 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Overview

Package util provides shared utilities for all gopacket examples.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run() func()

Run starts up stuff at the beginning of a main function, and returns a function to defer until the function completes. It should be used like this:

func main() {
  defer util.Run()()
  ... stuff ...
}

Types

This section is empty.

Jump to

Keyboard shortcuts

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