repl

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseREPLCommand

func ParseREPLCommand(b []byte, schemas map[string]schema.Object) (proto.Message, error)

ParseREPLCommand parses input from the command line

This function assumes there is no '\n'

Types

type CSVWriter added in v0.2.0

type CSVWriter struct {
	// contains filtered or unexported fields
}

func (CSVWriter) Write added in v0.2.0

func (w CSVWriter) Write(v proto.Printable)

type JSONWriter added in v0.2.0

type JSONWriter struct {
	// contains filtered or unexported fields
}

func (JSONWriter) Write added in v0.2.0

func (w JSONWriter) Write(v proto.Printable)

type OutputWriter added in v0.2.0

type OutputWriter interface {
	Write(v proto.Printable)
}

func NewOutputWriter added in v0.2.0

func NewOutputWriter(w io.Writer, t string) OutputWriter

type TextWriter added in v0.2.0

type TextWriter struct {
	// contains filtered or unexported fields
}

func (TextWriter) Write added in v0.2.0

func (w TextWriter) Write(v proto.Printable)

Jump to

Keyboard shortcuts

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