avro

package
v6.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.

  • SOURCE:
  • nested.avsc

Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.

  • SOURCE:
  • nested.avsc

Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.

  • SOURCE:
  • nested.avsc

Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.

  • SOURCE:
  • nested.avsc

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByteReader

type ByteReader interface {
	ReadByte() (byte, error)
}

type ByteWriter

type ByteWriter interface {
	Grow(int)
	WriteByte(byte) error
}

type NestedRecord

type NestedRecord struct {
	StringField string
	BoolField   bool
	BytesField  []byte
}

func DeserializeNestedRecord

func DeserializeNestedRecord(r io.Reader) (*NestedRecord, error)

func (*NestedRecord) Schema

func (r *NestedRecord) Schema() string

func (*NestedRecord) Serialize

func (r *NestedRecord) Serialize(w io.Writer) error

type NestedTestRecord

type NestedTestRecord struct {
	NumberField *NumberRecord
	OtherField  *NestedRecord
}

func DeserializeNestedTestRecord

func DeserializeNestedTestRecord(r io.Reader) (*NestedTestRecord, error)

func (*NestedTestRecord) Schema

func (r *NestedTestRecord) Schema() string

func (*NestedTestRecord) Serialize

func (r *NestedTestRecord) Serialize(w io.Writer) error

type NumberRecord

type NumberRecord struct {
	IntField    int32
	LongField   int64
	FloatField  float32
	DoubleField float64
}

func DeserializeNumberRecord

func DeserializeNumberRecord(r io.Reader) (*NumberRecord, error)

func (*NumberRecord) Schema

func (r *NumberRecord) Schema() string

func (*NumberRecord) Serialize

func (r *NumberRecord) Serialize(w io.Writer) error

type StringWriter

type StringWriter interface {
	WriteString(string) (int, error)
}

Jump to

Keyboard shortcuts

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