util

package
v0.0.0-...-99bd80c Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2016 License: BSD-3-Clause, MIT 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.

Jump to

Keyboard shortcuts

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