rec

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array []Value

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 Bool

type Bool bool

type Float32

type Float32 float32

type Float64

type Float64 float64

type Int32

type Int32 int32

type Int64

type Int64 int

type Object

type Object map[string]Value

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

type String

type String string

type Uint32

type Uint32 uint32

type Uint64

type Uint64 uint

type Value

type Value interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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