time

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package time contains avro decoders for time.Time.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCodecs

func RegisterCodecs()

RegisterCodecs makes the codecs in this package available to avro

Types

type StringCodec

type StringCodec struct{ avro.StringCodec }

StringCodec is a decoder from an AVRO string with RFC3339 encoding to a time.Time

func (StringCodec) New

func (c StringCodec) New(r *avro.Buffer) unsafe.Pointer

New create a pointer to a new time.Time

func (StringCodec) Read

func (c StringCodec) Read(r *avro.Buffer, p unsafe.Pointer) error

Jump to

Keyboard shortcuts

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