convert

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(w io.Writer, r io.Reader) (err error)

func Set added in v0.11.0

func Set(buf, msg []byte, pairs ...[]byte) []byte

Types

type JSON

type JSON struct {
	io.Writer

	AppendSafe   bool
	AttachLabels bool
	TimeFormat   string
	TimeZone     *time.Location

	Rename map[KeyTagSub]string
	// contains filtered or unexported fields
}

func NewJSONWriter

func NewJSONWriter(w io.Writer) *JSON

func (*JSON) Write

func (w *JSON) Write(p []byte) (i int, err error)

type KeyTagSub added in v0.11.0

type KeyTagSub struct {
	Key string
	Tag byte
	Sub int64
}

Jump to

Keyboard shortcuts

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