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 DateCodec ¶ added in v0.0.17
type DateCodec struct{ avro.Int32Codec }
DateCodec is a decoder from an AVRO date logical type, which is a number of days since 1 Jan 1970
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.