Documentation ¶
Overview ¶
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- evolution.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- evolution.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- evolution.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- evolution.avsc
Index ¶
- Constants
- func NewEventWriter(writer io.Writer, codec container.Codec, recordsPerBlock int64) (*container.Writer, error)
- type Event
- func (_ Event) AppendArray() types.Field
- func (_ Event) AppendMap(key string) types.Field
- func (_ Event) AvroCRC64Fingerprint() []byte
- func (_ Event) Finalize()
- func (r *Event) Get(i int) types.Field
- func (_ Event) HintSize(int)
- func (r Event) MarshalJSON() ([]byte, error)
- func (r *Event) NullField(i int)
- func (r Event) Schema() string
- func (r Event) SchemaName() string
- func (r Event) Serialize(w io.Writer) error
- func (_ Event) SetBoolean(v bool)
- func (_ Event) SetBytes(v []byte)
- func (r *Event) SetDefault(i int)
- func (_ Event) SetDouble(v float64)
- func (_ Event) SetFloat(v float32)
- func (_ Event) SetInt(v int32)
- func (_ Event) SetLong(v int64)
- func (_ Event) SetString(v string)
- func (_ Event) SetUnionElem(v int64)
- func (r *Event) UnmarshalJSON(data []byte) error
- type EventReader
- type IPAddress
- type IPAddressWrapper
- func (_ IPAddressWrapper) AppendArray() types.Field
- func (_ IPAddressWrapper) AppendMap(key string) types.Field
- func (_ IPAddressWrapper) Finalize()
- func (_ IPAddressWrapper) Get(i int) types.Field
- func (_ IPAddressWrapper) HintSize(int)
- func (_ IPAddressWrapper) NullField(int)
- func (_ IPAddressWrapper) SetBoolean(v bool)
- func (r IPAddressWrapper) SetBytes(v []byte)
- func (_ IPAddressWrapper) SetDefault(i int)
- func (_ IPAddressWrapper) SetDouble(v float64)
- func (_ IPAddressWrapper) SetFloat(v float32)
- func (_ IPAddressWrapper) SetInt(v int32)
- func (_ IPAddressWrapper) SetLong(v int64)
- func (_ IPAddressWrapper) SetString(v string)
- func (_ IPAddressWrapper) SetUnionElem(v int64)
- type UnionIPAddressEvent
- func (_ UnionIPAddressEvent) AppendArray() types.Field
- func (_ UnionIPAddressEvent) AppendMap(key string) types.Field
- func (_ UnionIPAddressEvent) Finalize()
- func (r *UnionIPAddressEvent) Get(i int) types.Field
- func (_ UnionIPAddressEvent) HintSize(i int)
- func (r UnionIPAddressEvent) MarshalJSON() ([]byte, error)
- func (_ UnionIPAddressEvent) NullField(i int)
- func (r UnionIPAddressEvent) Schema() string
- func (r UnionIPAddressEvent) Serialize(w io.Writer) error
- func (_ UnionIPAddressEvent) SetBoolean(v bool)
- func (_ UnionIPAddressEvent) SetBytes(v []byte)
- func (_ UnionIPAddressEvent) SetDefault(i int)
- func (_ UnionIPAddressEvent) SetDouble(v float64)
- func (_ UnionIPAddressEvent) SetFloat(v float32)
- func (_ UnionIPAddressEvent) SetInt(v int32)
- func (r *UnionIPAddressEvent) SetLong(v int64)
- func (_ UnionIPAddressEvent) SetString(v string)
- func (r *UnionIPAddressEvent) UnmarshalJSON(data []byte) error
- type UnionIPAddressEventTypeEnum
Constants ¶
View Source
const EventAvroCRC64Fingerprint = "W\xbc\xe5D\xb1l>j"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct { // Unique ID for this event. Id string `json:"id"` // Start IP of this observation's IP range. Start_ip IPAddress `json:"start_ip"` // End IP of this observation's IP range. End_ip IPAddress `json:"end_ip"` }
The test record
func (Event) AppendArray ¶
func (Event) AvroCRC64Fingerprint ¶
func (Event) MarshalJSON ¶
func (Event) SchemaName ¶
func (Event) SetBoolean ¶
func (*Event) SetDefault ¶
func (Event) SetUnionElem ¶
func (*Event) UnmarshalJSON ¶
type EventReader ¶
type EventReader struct {
// contains filtered or unexported fields
}
container reader
func NewEventReader ¶
func NewEventReader(r io.Reader) (*EventReader, error)
func (EventReader) Read ¶
func (r EventReader) Read() (Event, error)
type IPAddress ¶
type IPAddress [16]byte
func (IPAddress) MarshalJSON ¶
func (*IPAddress) UnmarshalJSON ¶
type IPAddressWrapper ¶
type IPAddressWrapper struct {
Target *IPAddress
}
func (IPAddressWrapper) AppendArray ¶
func (_ IPAddressWrapper) AppendArray() types.Field
func (IPAddressWrapper) Finalize ¶
func (_ IPAddressWrapper) Finalize()
func (IPAddressWrapper) HintSize ¶
func (_ IPAddressWrapper) HintSize(int)
func (IPAddressWrapper) NullField ¶
func (_ IPAddressWrapper) NullField(int)
func (IPAddressWrapper) SetBoolean ¶
func (_ IPAddressWrapper) SetBoolean(v bool)
func (IPAddressWrapper) SetBytes ¶
func (r IPAddressWrapper) SetBytes(v []byte)
func (IPAddressWrapper) SetDefault ¶
func (_ IPAddressWrapper) SetDefault(i int)
func (IPAddressWrapper) SetDouble ¶
func (_ IPAddressWrapper) SetDouble(v float64)
func (IPAddressWrapper) SetFloat ¶
func (_ IPAddressWrapper) SetFloat(v float32)
func (IPAddressWrapper) SetInt ¶
func (_ IPAddressWrapper) SetInt(v int32)
func (IPAddressWrapper) SetLong ¶
func (_ IPAddressWrapper) SetLong(v int64)
func (IPAddressWrapper) SetString ¶
func (_ IPAddressWrapper) SetString(v string)
func (IPAddressWrapper) SetUnionElem ¶
func (_ IPAddressWrapper) SetUnionElem(v int64)
type UnionIPAddressEvent ¶
type UnionIPAddressEvent struct { IPAddress IPAddress Event Event UnionType UnionIPAddressEventTypeEnum }
func DeserializeUnionIPAddressEvent ¶
func DeserializeUnionIPAddressEvent(r io.Reader) (UnionIPAddressEvent, error)
func DeserializeUnionIPAddressEventFromSchema ¶
func DeserializeUnionIPAddressEventFromSchema(r io.Reader, schema string) (UnionIPAddressEvent, error)
func NewUnionIPAddressEvent ¶
func NewUnionIPAddressEvent() UnionIPAddressEvent
func (UnionIPAddressEvent) AppendArray ¶
func (_ UnionIPAddressEvent) AppendArray() types.Field
func (UnionIPAddressEvent) AppendMap ¶
func (_ UnionIPAddressEvent) AppendMap(key string) types.Field
func (UnionIPAddressEvent) Finalize ¶
func (_ UnionIPAddressEvent) Finalize()
func (UnionIPAddressEvent) HintSize ¶
func (_ UnionIPAddressEvent) HintSize(i int)
func (UnionIPAddressEvent) MarshalJSON ¶
func (r UnionIPAddressEvent) MarshalJSON() ([]byte, error)
func (UnionIPAddressEvent) NullField ¶
func (_ UnionIPAddressEvent) NullField(i int)
func (UnionIPAddressEvent) Schema ¶
func (r UnionIPAddressEvent) Schema() string
func (UnionIPAddressEvent) SetBoolean ¶
func (_ UnionIPAddressEvent) SetBoolean(v bool)
func (UnionIPAddressEvent) SetBytes ¶
func (_ UnionIPAddressEvent) SetBytes(v []byte)
func (UnionIPAddressEvent) SetDefault ¶
func (_ UnionIPAddressEvent) SetDefault(i int)
func (UnionIPAddressEvent) SetDouble ¶
func (_ UnionIPAddressEvent) SetDouble(v float64)
func (UnionIPAddressEvent) SetFloat ¶
func (_ UnionIPAddressEvent) SetFloat(v float32)
func (UnionIPAddressEvent) SetInt ¶
func (_ UnionIPAddressEvent) SetInt(v int32)
func (*UnionIPAddressEvent) SetLong ¶
func (r *UnionIPAddressEvent) SetLong(v int64)
func (UnionIPAddressEvent) SetString ¶
func (_ UnionIPAddressEvent) SetString(v string)
func (*UnionIPAddressEvent) UnmarshalJSON ¶
func (r *UnionIPAddressEvent) UnmarshalJSON(data []byte) error
type UnionIPAddressEventTypeEnum ¶
type UnionIPAddressEventTypeEnum int
const ( UnionIPAddressEventTypeEnumIPAddress UnionIPAddressEventTypeEnum = 0 UnionIPAddressEventTypeEnumEvent UnionIPAddressEventTypeEnum = 1 )
Click to show internal directories.
Click to hide internal directories.