Versions in this module Expand all Collapse all v0 v0.0.2 Dec 20, 2020 v0.0.1 Dec 3, 2020 Changes in this version + const TypeAddressV4 + const TypeAddressV6 + const TypeFloat64 + const TypeMac + const TypeNumber16 + const TypeNumber32 + const TypeNumber64 + const TypeNumber8 + const TypeString + const TypeTimestamp + var SqlFields = map[string]string + type ConvertableField interface + Convert func(value string) (interface{}, error) + GetName func() string + type Field struct + Name string + Type string + type FieldConverter func(value string) (interface{}, error) + type FlowMessage struct + Fields FlowMessagePayload + Rule string + type FlowMessagePayload map[string]string + type Int16ModelField struct + func (s *Int16ModelField) Convert(value string) (interface{}, error) + type IpToIntModelField struct + func (s *IpToIntModelField) Convert(value string) (interface{}, error) + type ListModelField struct + Default *int + Values map[string]int + func (f *ListModelField) Convert(value string) (interface{}, error) + type Model struct + Fields []ConvertableField + Statement string + Table string + type ModelField struct + Name string + Type string + func (f *ModelField) GetName() string + type PoolBump struct + Reason string + Rule string + type PoolItem struct + Items []FlowMessagePayload + Last time.Time + Size int + type Rule struct + Fields []map[string]interface{} + Name string + Regexp regexp.Regexp + Table string + type Rules []Rule + type StringModelField struct + func (s *StringModelField) Convert(value string) (interface{}, error) + type TimestampModelField struct + Layout string + func (f *TimestampModelField) Convert(value string) (interface{}, error) + type UInt16ModelField struct + func (s *UInt16ModelField) Convert(value string) (interface{}, error)