Documentation ¶
Index ¶
- type Adapter
- func (f *Adapter) Get(ctx context.Context, id string) (string, error)
- func (f *Adapter) GetByDefinition(ctx context.Context, schema avro.Schema) (string, error)
- func (p *Adapter) Persist(ctx context.Context, schema *avro.RecordSchema, ...) (string, error)
- func (f *Adapter) Walk(ctx context.Context, ...) (int, error)
- type WireFormatter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct {
// contains filtered or unexported fields
}
func NewDirAdapter ¶
func (*Adapter) GetByDefinition ¶
GetByDefinition implements registry.Fetcher.
type WireFormatter ¶
type WireFormatter struct{}
func NewWireFormatter ¶
func NewWireFormatter() *WireFormatter
func (*WireFormatter) AppendSchemaID ¶
func (*WireFormatter) AppendSchemaID(data []byte, id string) ([]byte, error)
AppendSchemaID implements registry.WireFormatter.
func (*WireFormatter) ExtractSchemaID ¶
func (*WireFormatter) ExtractSchemaID(data []byte) (string, []byte, error)
ExtractSchemaID implements registry.WireFormatter.
Click to show internal directories.
Click to hide internal directories.