Documentation ¶
Index ¶
- type Array
- type ArrayEncoder
- func (enc *ArrayEncoder) AppendArray(ms zapcore.ArrayMarshaler) error
- func (enc *ArrayEncoder) AppendBool(b bool)
- func (enc *ArrayEncoder) AppendFloat32(f float32)
- func (enc *ArrayEncoder) AppendFloat64(f float64)
- func (enc *ArrayEncoder) AppendInt32(i int32)
- func (enc *ArrayEncoder) AppendInt64(i int64)
- func (enc *ArrayEncoder) AppendObject(ms zapcore.ObjectMarshaler) error
- func (enc *ArrayEncoder) AppendString(s string)
- func (enc *ArrayEncoder) AppendUint32(i uint32)
- func (enc *ArrayEncoder) AppendUint64(i uint64)
- func (enc *ArrayEncoder) Result() Array
- type Bool
- type Float32
- type Float64
- type Int32
- type Int64
- type Object
- type ObjectEncoder
- func (enc *ObjectEncoder) AddArray(key string, ms zapcore.ArrayMarshaler) error
- func (enc *ObjectEncoder) AddBool(key string, b bool)
- func (enc *ObjectEncoder) AddFloat32(key string, f float32)
- func (enc *ObjectEncoder) AddFloat64(key string, f float64)
- func (enc *ObjectEncoder) AddInt32(key string, i int32)
- func (enc *ObjectEncoder) AddInt64(key string, i int64)
- func (enc *ObjectEncoder) AddObject(key string, ms zapcore.ObjectMarshaler) error
- func (enc *ObjectEncoder) AddString(key string, s string)
- func (enc *ObjectEncoder) AddUint32(key string, i uint32)
- func (enc *ObjectEncoder) AddUint64(key string, i uint64)
- func (enc *ObjectEncoder) Result() Object
- type String
- type Uint32
- type Uint64
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayEncoder ¶
type ArrayEncoder struct { // Mock is only used to fill out unimplemented methods *mocks.ArrayEncoder // contains filtered or unexported fields }
func NewArrayEncoder ¶
func NewArrayEncoder(t *testing.T) *ArrayEncoder
func (*ArrayEncoder) AppendArray ¶
func (enc *ArrayEncoder) AppendArray(ms zapcore.ArrayMarshaler) error
func (*ArrayEncoder) AppendBool ¶
func (enc *ArrayEncoder) AppendBool(b bool)
func (*ArrayEncoder) AppendFloat32 ¶
func (enc *ArrayEncoder) AppendFloat32(f float32)
func (*ArrayEncoder) AppendFloat64 ¶
func (enc *ArrayEncoder) AppendFloat64(f float64)
func (*ArrayEncoder) AppendInt32 ¶
func (enc *ArrayEncoder) AppendInt32(i int32)
func (*ArrayEncoder) AppendInt64 ¶
func (enc *ArrayEncoder) AppendInt64(i int64)
func (*ArrayEncoder) AppendObject ¶
func (enc *ArrayEncoder) AppendObject(ms zapcore.ObjectMarshaler) error
func (*ArrayEncoder) AppendString ¶
func (enc *ArrayEncoder) AppendString(s string)
func (*ArrayEncoder) AppendUint32 ¶
func (enc *ArrayEncoder) AppendUint32(i uint32)
func (*ArrayEncoder) AppendUint64 ¶
func (enc *ArrayEncoder) AppendUint64(i uint64)
func (*ArrayEncoder) Result ¶
func (enc *ArrayEncoder) Result() Array
type ObjectEncoder ¶
type ObjectEncoder struct { // Mock is only used to fill out unimplemented methods *mocks.ObjectEncoder // contains filtered or unexported fields }
func NewObjectEncoder ¶
func NewObjectEncoder(t *testing.T) *ObjectEncoder
func (*ObjectEncoder) AddArray ¶
func (enc *ObjectEncoder) AddArray(key string, ms zapcore.ArrayMarshaler) error
func (*ObjectEncoder) AddBool ¶
func (enc *ObjectEncoder) AddBool(key string, b bool)
func (*ObjectEncoder) AddFloat32 ¶
func (enc *ObjectEncoder) AddFloat32(key string, f float32)
func (*ObjectEncoder) AddFloat64 ¶
func (enc *ObjectEncoder) AddFloat64(key string, f float64)
func (*ObjectEncoder) AddInt32 ¶
func (enc *ObjectEncoder) AddInt32(key string, i int32)
func (*ObjectEncoder) AddInt64 ¶
func (enc *ObjectEncoder) AddInt64(key string, i int64)
func (*ObjectEncoder) AddObject ¶
func (enc *ObjectEncoder) AddObject(key string, ms zapcore.ObjectMarshaler) error
func (*ObjectEncoder) AddString ¶
func (enc *ObjectEncoder) AddString(key string, s string)
func (*ObjectEncoder) AddUint32 ¶
func (enc *ObjectEncoder) AddUint32(key string, i uint32)
func (*ObjectEncoder) AddUint64 ¶
func (enc *ObjectEncoder) AddUint64(key string, i uint64)
func (*ObjectEncoder) Result ¶
func (enc *ObjectEncoder) Result() Object
Click to show internal directories.
Click to hide internal directories.