encoding

package
v0.0.0-...-c864ae1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: BSD-2-Clause, BSD-3-Clause, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NullEncoder = new(nullEncoder)

Functions

This section is empty.

Types

type Builder

type Builder struct {
	loggers.ContainedLogger
	// contains filtered or unexported fields
}

func (*Builder) Build

func (b *Builder) Build() Encoder

func (*Builder) ForOutputType

func (b *Builder) ForOutputType(encoderType encoding.OutputType) *Builder

func (*Builder) WithLogHandler

func (b *Builder) WithLogHandler(logHandler logging.Logger) *Builder

func (*Builder) WithOutputPath

func (b *Builder) WithOutputPath(outputPath string) *Builder

type Encoder

type Encoder interface {
	Encode(summary *set.Summary) error
}

type Marshaler

type Marshaler interface {
	Marshal(summary *set.Summary) ([]byte, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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