core

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2016 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package core provides version information, debug information, and the initializer

Index

Constants

View Source
const NamazuVersion = "0.2.1"

Variables

View Source
var EthernetInspectorNotBuiltErr = errors.New(
	"Ethernet inspector is disabled in this statically linked binary. " +
		"Please build a dynamically linked binary instead: " +
		"`go get github.com/osrg/namazu/nmz`")

Functions

func DebugMode

func DebugMode() bool

Returns true if NMZ_DEBUG is set

func Init

func Init()

Initializes the Namazu system

func Recoverer

func Recoverer()

Prints information on panic Also prints the stack trace if it is in the debug mode (NMZ_DEBUG)

Types

This section is empty.

Jump to

Keyboard shortcuts

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