util

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2015 License: BSD-3-Clause, Apache-2.0 Imports: 4 Imported by: 0

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.

Source Files

Jump to

Keyboard shortcuts

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