avro

package
v4.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2017 License: MIT Imports: 3 Imported by: 55

Documentation

Overview

* CODE GENERATED AUTOMATICALLY WITH gopkg.in/alanctgardner/gogen-avro.v4 * THIS FILE SHOULD NOT BE EDITED BY HAND * * SOURCE: * example.avsc

* CODE GENERATED AUTOMATICALLY WITH gopkg.in/alanctgardner/gogen-avro.v4 * THIS FILE SHOULD NOT BE EDITED BY HAND * * SOURCE: * example.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 DemoSchema

type DemoSchema struct {
	IntField    int32
	DoubleField float64
	StringField string
	BoolField   bool
	BytesField  []byte
}

func DeserializeDemoSchema

func DeserializeDemoSchema(r io.Reader) (*DemoSchema, error)

func (*DemoSchema) Schema

func (r *DemoSchema) Schema() string

func (*DemoSchema) Serialize

func (r *DemoSchema) 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