1package zerolog
2
3import (
4	"net"
5	"time"
6)
7
8type encoder interface {
9	AppendArrayDelim(dst []byte) []byte
10	AppendArrayEnd(dst []byte) []byte
11	AppendArrayStart(dst []byte) []byte
12	AppendBeginMarker(dst []byte) []byte
13	AppendBool(dst []byte, val bool) []byte
14	AppendBools(dst []byte, vals []bool) []byte
15	AppendBytes(dst, s []byte) []byte
16	AppendDuration(dst []byte, d time.Duration, unit time.Duration, useInt bool) []byte
17	AppendDurations(dst []byte, vals []time.Duration, unit time.Duration, useInt bool) []byte
18	AppendEndMarker(dst []byte) []byte
19	AppendFloat32(dst []byte, val float32) []byte
20	AppendFloat64(dst []byte, val float64) []byte
21	AppendFloats32(dst []byte, vals []float32) []byte
22	AppendFloats64(dst []byte, vals []float64) []byte
23	AppendHex(dst, s []byte) []byte
24	AppendIPAddr(dst []byte, ip net.IP) []byte
25	AppendIPPrefix(dst []byte, pfx net.IPNet) []byte
26	AppendInt(dst []byte, val int) []byte
27	AppendInt16(dst []byte, val int16) []byte
28	AppendInt32(dst []byte, val int32) []byte
29	AppendInt64(dst []byte, val int64) []byte
30	AppendInt8(dst []byte, val int8) []byte
31	AppendInterface(dst []byte, i interface{}) []byte
32	AppendInts(dst []byte, vals []int) []byte
33	AppendInts16(dst []byte, vals []int16) []byte
34	AppendInts32(dst []byte, vals []int32) []byte
35	AppendInts64(dst []byte, vals []int64) []byte
36	AppendInts8(dst []byte, vals []int8) []byte
37	AppendKey(dst []byte, key string) []byte
38	AppendLineBreak(dst []byte) []byte
39	AppendMACAddr(dst []byte, ha net.HardwareAddr) []byte
40	AppendNil(dst []byte) []byte
41	AppendObjectData(dst []byte, o []byte) []byte
42	AppendString(dst []byte, s string) []byte
43	AppendStrings(dst []byte, vals []string) []byte
44	AppendTime(dst []byte, t time.Time, format string) []byte
45	AppendTimes(dst []byte, vals []time.Time, format string) []byte
46	AppendUint(dst []byte, val uint) []byte
47	AppendUint16(dst []byte, val uint16) []byte
48	AppendUint32(dst []byte, val uint32) []byte
49	AppendUint64(dst []byte, val uint64) []byte
50	AppendUint8(dst []byte, val uint8) []byte
51	AppendUints(dst []byte, vals []uint) []byte
52	AppendUints16(dst []byte, vals []uint16) []byte
53	AppendUints32(dst []byte, vals []uint32) []byte
54	AppendUints64(dst []byte, vals []uint64) []byte
55	AppendUints8(dst []byte, vals []uint8) []byte
56}
57