Versions in this module Expand all Collapse all v1 v1.7.0 May 17, 2018 Changes in this version + type Encoder struct + func (Encoder) AppendArrayDelim(dst []byte) []byte + func (Encoder) AppendArrayEnd(dst []byte) []byte + func (Encoder) AppendArrayStart(dst []byte) []byte + func (Encoder) AppendBeginMarker(dst []byte) []byte + func (Encoder) AppendBool(dst []byte, val bool) []byte + func (Encoder) AppendBytes(dst, s []byte) []byte + func (Encoder) AppendEndMarker(dst []byte) []byte + func (Encoder) AppendFloat32(dst []byte, val float32) []byte + func (Encoder) AppendFloat64(dst []byte, val float64) []byte + func (Encoder) AppendInt(dst []byte, val int) []byte + func (Encoder) AppendInt64(dst []byte, val int64) []byte + func (Encoder) AppendLineBreak(dst []byte) []byte + func (Encoder) AppendNil(dst []byte) []byte + func (Encoder) AppendObjectData(dst []byte, o []byte) []byte + func (Encoder) AppendString(dst []byte, s string) []byte + func (Encoder) AppendUint64(dst []byte, val uint64) []byte + func (e Encoder) AppendBools(dst []byte, vals []bool) []byte + func (e Encoder) AppendDuration(dst []byte, d time.Duration, unit time.Duration, useInt bool) []byte + func (e Encoder) AppendDurations(dst []byte, vals []time.Duration, unit time.Duration, useInt bool) []byte + func (e Encoder) AppendError(dst []byte, err error) []byte + func (e Encoder) AppendErrors(dst []byte, errs []error) []byte + func (e Encoder) AppendFloats32(dst []byte, vals []float32) []byte + func (e Encoder) AppendFloats64(dst []byte, vals []float64) []byte + func (e Encoder) AppendHex(dst []byte, val []byte) []byte + func (e Encoder) AppendIPAddr(dst []byte, ip net.IP) []byte + func (e Encoder) AppendIPPrefix(dst []byte, pfx net.IPNet) []byte + func (e Encoder) AppendInt16(dst []byte, val int16) []byte + func (e Encoder) AppendInt32(dst []byte, val int32) []byte + func (e Encoder) AppendInt8(dst []byte, val int8) []byte + func (e Encoder) AppendInterface(dst []byte, i interface{}) []byte + func (e Encoder) AppendInts(dst []byte, vals []int) []byte + func (e Encoder) AppendInts16(dst []byte, vals []int16) []byte + func (e Encoder) AppendInts32(dst []byte, vals []int32) []byte + func (e Encoder) AppendInts64(dst []byte, vals []int64) []byte + func (e Encoder) AppendInts8(dst []byte, vals []int8) []byte + func (e Encoder) AppendKey(dst []byte, key string) []byte + func (e Encoder) AppendMACAddr(dst []byte, ha net.HardwareAddr) []byte + func (e Encoder) AppendStrings(dst []byte, vals []string) []byte + func (e Encoder) AppendTime(dst []byte, t time.Time, unused string) []byte + func (e Encoder) AppendTimes(dst []byte, vals []time.Time, unused string) []byte + func (e Encoder) AppendUint(dst []byte, val uint) []byte + func (e Encoder) AppendUint16(dst []byte, val uint16) []byte + func (e Encoder) AppendUint32(dst []byte, val uint32) []byte + func (e Encoder) AppendUint8(dst []byte, val uint8) []byte + func (e Encoder) AppendUints(dst []byte, vals []uint) []byte + func (e Encoder) AppendUints16(dst []byte, vals []uint16) []byte + func (e Encoder) AppendUints32(dst []byte, vals []uint32) []byte + func (e Encoder) AppendUints64(dst []byte, vals []uint64) []byte + func (e Encoder) AppendUints8(dst []byte, vals []uint8) []byte v1.6.0 Mar 28, 2018 Changes in this version + var IntegerTimeFieldFormat = time.RFC3339 + var NanoTimeFieldFormat = time.RFC3339Nano + func AppendArrayDelim(dst []byte) []byte + func AppendArrayEnd(dst []byte) []byte + func AppendArrayStart(dst []byte) []byte + func AppendBeginMarker(dst []byte) []byte + func AppendBool(dst []byte, val bool) []byte + func AppendBools(dst []byte, vals []bool) []byte + func AppendBytes(dst, s []byte) []byte + func AppendDuration(dst []byte, d time.Duration, unit time.Duration, useInt bool) []byte + func AppendDurations(dst []byte, vals []time.Duration, unit time.Duration, useInt bool) []byte + func AppendEmbeddedJSON(dst, s []byte) []byte + func AppendEndMarker(dst []byte) []byte + func AppendError(dst []byte, err error) []byte + func AppendErrors(dst []byte, errs []error) []byte + func AppendFloat32(dst []byte, val float32) []byte + func AppendFloat64(dst []byte, val float64) []byte + func AppendFloats32(dst []byte, vals []float32) []byte + func AppendFloats64(dst []byte, vals []float64) []byte + func AppendHex(dst []byte, val []byte) []byte + func AppendInt(dst []byte, val int) []byte + func AppendInt16(dst []byte, val int16) []byte + func AppendInt32(dst []byte, val int32) []byte + func AppendInt64(dst []byte, val int64) []byte + func AppendInt8(dst []byte, val int8) []byte + func AppendInterface(dst []byte, i interface{}) []byte + func AppendInts(dst []byte, vals []int) []byte + func AppendInts16(dst []byte, vals []int16) []byte + func AppendInts32(dst []byte, vals []int32) []byte + func AppendInts64(dst []byte, vals []int64) []byte + func AppendInts8(dst []byte, vals []int8) []byte + func AppendKey(dst []byte, key string) []byte + func AppendNull(dst []byte) []byte + func AppendObjectData(dst []byte, o []byte) []byte + func AppendString(dst []byte, s string) []byte + func AppendStrings(dst []byte, vals []string) []byte + func AppendTime(dst []byte, t time.Time, unused string) []byte + func AppendTimes(dst []byte, vals []time.Time, unused string) []byte + func AppendUint(dst []byte, val uint) []byte + func AppendUint16(dst []byte, val uint16) []byte + func AppendUint32(dst []byte, val uint32) []byte + func AppendUint64(dst []byte, val uint64) []byte + func AppendUint8(dst []byte, val uint8) []byte + func AppendUints(dst []byte, vals []uint) []byte + func AppendUints16(dst []byte, vals []uint16) []byte + func AppendUints32(dst []byte, vals []uint32) []byte + func AppendUints64(dst []byte, vals []uint64) []byte + func AppendUints8(dst []byte, vals []uint8) []byte + func Cbor2JsonManyObjects(src []byte, dst io.Writer) (uint, error) + func Cbor2JsonOneObject(src []byte, dst io.Writer) (uint, error) + func DecodeIfBinaryToBytes(in []byte) []byte + func DecodeIfBinaryToString(in []byte) string + func DecodeObjectToStr(in []byte) string