schema

package
v0.0.0-...-e1d23d7 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Schema

type Schema struct {
	Name      string
	Type      string
	Namespace string
}

Schema represents an Avro schema document as parsed from a JSON source representation. This representation includes all relevant details on the fields and other relevant structural elements needed for encoding, decoding, and validating Avro messages.

func FromString

func FromString(schemaString string) *Schema

FromString parses a JSON-formatted string according to the expectations of an Avro schema document.

Jump to

Keyboard shortcuts

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