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 LongCodec ¶ added in v0.0.7
type LongCodec struct { avro.Int64Codec // contains filtered or unexported fields }
LongCodec is a decoder from an AVRO long where the time is encoded as nanoseconds since the UNIX epoch
type StringCodec ¶
type StringCodec struct{ avro.StringCodec }
StringCodec is a decoder from an AVRO string with RFC3339 encoding to a time.Time
Click to show internal directories.
Click to hide internal directories.