util

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataLogger

type DataLogger struct {
	// contains filtered or unexported fields
}

func NewDataLogger

func NewDataLogger(dir string, direction LogDirection, ts time.Time) (*DataLogger, error)

func (*DataLogger) Close

func (dl *DataLogger) Close()

func (*DataLogger) Write

func (dl *DataLogger) Write(data []byte) (int, error)

func (*DataLogger) WriteString

func (dl *DataLogger) WriteString(text string) (int, error)

type LogDirection

type LogDirection int
const (
	LogInput LogDirection = iota
	LogOutput
)

Jump to

Keyboard shortcuts

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