helpers

package
v0.0.0-...-906974d Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2015 License: GPL-3.0, GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = logging.MustGetLogger("main")

Functions

func InitLogger

func InitLogger()

Types

type TPError

type TPError struct {
	Str  string
	Code int
}

func NewTPError

func NewTPError(str string, code int) *TPError

func (*TPError) Error

func (e *TPError) Error() string

func (*TPError) ErrorJSON

func (e *TPError) ErrorJSON() *simplejson.Json

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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