Documentation
¶
Overview ¶
Package avro provides Apache Avro schema translation utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Translator ¶
type Translator struct{}
Translator translates JSON schemas to Apache Avro schema definitions.
func (*Translator) FileExtension ¶
func (t *Translator) FileExtension() string
FileExtension returns the file extension for Avro schema files.
func (*Translator) Translate ¶
func (t *Translator) Translate(portName string, schema *jsonschema.Schema, _ string) ([]byte, error)
Translate converts a JSON schema to an Avro schema JSON document.