nerd

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2017 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	//ErrNotImplemented is returned when a function is not yet implemented
	ErrNotImplemented = errors.New("not yet implemented")
)

Functions

func SetupLogging added in v0.2.3

func SetupLogging()

Types

type PlainFormatter added in v0.2.3

type PlainFormatter struct {
}

PlainFormatter is a Logrus formatter that only includes the log message.

func (*PlainFormatter) Format added in v0.2.3

func (f *PlainFormatter) Format(entry *logrus.Entry) ([]byte, error)

type User

type User struct {
	Region string
}

User holds a reference to a user session

func GetCurrentUser

func GetCurrentUser() *User

GetCurrentUser returns the current user session

Directories

Path Synopsis
Package conf gives the CLI access to the nerd config file.
Package conf gives the CLI access to the nerd config file.

Jump to

Keyboard shortcuts

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