Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder() Builder
func (Builder) AddMessage ¶
type Field ¶
type Field struct { Name string `json:"name"` Doc string `json:"doc,omitempty"` Type interface{} `json:"type"` // string or array of type Default string `json:"default,omitempty"` Order string `json:"order,omitempty"` // ascending,descending,ignore Aliases []string `json:"aliases,omitempty"` }
Field models an Avro record field https://avro.apache.org/docs/1.8.1/spec.html
type FieldComplexType ¶
type FieldComplexType struct { Type string `json:"type"` Items interface{} `json:"items"` }
type Record ¶
type Record struct { Type string `json:"type"` Name string `json:"name"` Namespace string `json:"namespace,omitempty"` Doc string `json:"doc,omitempty"` Aliases []string `json:"aliases,omitempty"` Fields []Field `json:"fields"` }
Record models an Avro record type https://avro.apache.org/docs/1.8.1/spec.html
Click to show internal directories.
Click to hide internal directories.