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