util

package
v0.0.0-...-2ab8e39 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: BSD-3-Clause Imports: 4 Imported by: 48

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