report

package
v0.0.0-...-be67b86 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2015 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SUCCESS_LOG_CREATED string = "success__Created"
	SUCCESS_LOG_ID      string = "success__Id"
	ERROR_LOG_MESSAGE   string = "error__Message"
)

Variables

This section is empty.

Functions

func NewReporter

func NewReporter(def *Logs, defaultPath string, fields []string, targetFields []string) *reporter

Types

type Log

type Log struct {
	Off  *bool  `json:"off"`
	Path string `json:"path"`
}

type Logs

type Logs struct {
	Off     *bool  `json:"off"`
	Path    string `json:"path"`
	Error   Log    `json:"error"`
	Success Log    `json:"success"`
	Skip    Log    `json:"skip"`
	Output  Log    `json:"output"`
}

type Reporter

type Reporter interface {
	Close()
	NewReport(commons.Record, string) *report
}

Jump to

Keyboard shortcuts

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