Documentation
¶
Overview ¶
Code generated by github.com/actgardner/gogen-avro/v10. DO NOT EDIT.
- SOURCE:
- v1.avsc
Code generated by github.com/actgardner/gogen-avro/v10. DO NOT EDIT.
- SOURCE:
- v1.avsc
Code generated by github.com/actgardner/gogen-avro/v10. DO NOT EDIT.
- SOURCE:
- v1.avsc
Code generated by github.com/actgardner/gogen-avro/v10. DO NOT EDIT.
- SOURCE:
- v1.avsc
Code generated by github.com/actgardner/gogen-avro/v10. DO NOT EDIT.
- SOURCE:
- v1.avsc
Index ¶
- Constants
- func NewAccessLogWriter(writer io.Writer, codec container.Codec, recordsPerBlock int64) (*container.Writer, error)
- type AccessLog
- func (_ AccessLog) AppendArray() types.Field
- func (_ AccessLog) AppendMap(key string) types.Field
- func (_ AccessLog) AvroCRC64Fingerprint() []byte
- func (_ AccessLog) Finalize()
- func (r *AccessLog) Get(i int) types.Field
- func (_ AccessLog) HintSize(int)
- func (r AccessLog) MarshalJSON() ([]byte, error)
- func (r *AccessLog) NullField(i int)
- func (r AccessLog) Schema() string
- func (r AccessLog) SchemaName() string
- func (r AccessLog) Serialize(w io.Writer) error
- func (_ AccessLog) SetBoolean(v bool)
- func (_ AccessLog) SetBytes(v []byte)
- func (r *AccessLog) SetDefault(i int)
- func (_ AccessLog) SetDouble(v float64)
- func (_ AccessLog) SetFloat(v float32)
- func (_ AccessLog) SetInt(v int32)
- func (_ AccessLog) SetLong(v int64)
- func (_ AccessLog) SetString(v string)
- func (_ AccessLog) SetUnionElem(v int64)
- func (r *AccessLog) UnmarshalJSON(data []byte) error
- type AccessLogReader
- type UnionNullInt
- func (_ *UnionNullInt) AppendArray() types.Field
- func (_ *UnionNullInt) AppendMap(key string) types.Field
- func (_ *UnionNullInt) Finalize()
- func (r *UnionNullInt) Get(i int) types.Field
- func (_ *UnionNullInt) HintSize(i int)
- func (r *UnionNullInt) MarshalJSON() ([]byte, error)
- func (_ *UnionNullInt) NullField(i int)
- func (r *UnionNullInt) Schema() string
- func (r *UnionNullInt) Serialize(w io.Writer) error
- func (_ *UnionNullInt) SetBoolean(v bool)
- func (_ *UnionNullInt) SetBytes(v []byte)
- func (_ *UnionNullInt) SetDefault(i int)
- func (_ *UnionNullInt) SetDouble(v float64)
- func (_ *UnionNullInt) SetFloat(v float32)
- func (_ *UnionNullInt) SetInt(v int32)
- func (r *UnionNullInt) SetLong(v int64)
- func (_ *UnionNullInt) SetString(v string)
- func (r *UnionNullInt) UnmarshalJSON(data []byte) error
- type UnionNullIntTypeEnum
- type UnionNullLong
- func (_ *UnionNullLong) AppendArray() types.Field
- func (_ *UnionNullLong) AppendMap(key string) types.Field
- func (_ *UnionNullLong) Finalize()
- func (r *UnionNullLong) Get(i int) types.Field
- func (_ *UnionNullLong) HintSize(i int)
- func (r *UnionNullLong) MarshalJSON() ([]byte, error)
- func (_ *UnionNullLong) NullField(i int)
- func (r *UnionNullLong) Schema() string
- func (r *UnionNullLong) Serialize(w io.Writer) error
- func (_ *UnionNullLong) SetBoolean(v bool)
- func (_ *UnionNullLong) SetBytes(v []byte)
- func (_ *UnionNullLong) SetDefault(i int)
- func (_ *UnionNullLong) SetDouble(v float64)
- func (_ *UnionNullLong) SetFloat(v float32)
- func (_ *UnionNullLong) SetInt(v int32)
- func (r *UnionNullLong) SetLong(v int64)
- func (_ *UnionNullLong) SetString(v string)
- func (r *UnionNullLong) UnmarshalJSON(data []byte) error
- type UnionNullLongTypeEnum
- type UnionNullString
- func (_ *UnionNullString) AppendArray() types.Field
- func (_ *UnionNullString) AppendMap(key string) types.Field
- func (_ *UnionNullString) Finalize()
- func (r *UnionNullString) Get(i int) types.Field
- func (_ *UnionNullString) HintSize(i int)
- func (r *UnionNullString) MarshalJSON() ([]byte, error)
- func (_ *UnionNullString) NullField(i int)
- func (r *UnionNullString) Schema() string
- func (r *UnionNullString) Serialize(w io.Writer) error
- func (_ *UnionNullString) SetBoolean(v bool)
- func (_ *UnionNullString) SetBytes(v []byte)
- func (_ *UnionNullString) SetDefault(i int)
- func (_ *UnionNullString) SetDouble(v float64)
- func (_ *UnionNullString) SetFloat(v float32)
- func (_ *UnionNullString) SetInt(v int32)
- func (r *UnionNullString) SetLong(v int64)
- func (_ *UnionNullString) SetString(v string)
- func (r *UnionNullString) UnmarshalJSON(data []byte) error
- type UnionNullStringTypeEnum
Constants ¶
View Source
const AccessLogAvroCRC64Fingerprint = "6/gH\xee\x1e\a\x9e"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessLog ¶
type AccessLog struct { Timestamp *UnionNullLong `json:"timestamp"` Id *UnionNullString `json:"id"` TraceId *UnionNullString `json:"traceId"` Ip *UnionNullString `json:"ip"` UserAgent *UnionNullString `json:"userAgent"` Method *UnionNullString `json:"method"` Path *UnionNullString `json:"path"` Query *UnionNullString `json:"query"` Status *UnionNullInt `json:"status"` Duration *UnionNullInt `json:"duration"` RequestSize *UnionNullInt `json:"requestSize"` ResponseSize *UnionNullInt `json:"responseSize"` }
func NewAccessLog ¶
func NewAccessLog() AccessLog
func (AccessLog) AppendArray ¶
func (AccessLog) AvroCRC64Fingerprint ¶
func (AccessLog) MarshalJSON ¶
func (AccessLog) SchemaName ¶
func (AccessLog) SetBoolean ¶
func (*AccessLog) SetDefault ¶
func (AccessLog) SetUnionElem ¶
func (*AccessLog) UnmarshalJSON ¶
type AccessLogReader ¶
type AccessLogReader struct {
// contains filtered or unexported fields
}
container reader
func NewAccessLogReader ¶
func NewAccessLogReader(r io.Reader) (*AccessLogReader, error)
func (AccessLogReader) Read ¶
func (r AccessLogReader) Read() (AccessLog, error)
type UnionNullInt ¶
type UnionNullInt struct { Null *types.NullVal Int int32 UnionType UnionNullIntTypeEnum }
func DeserializeUnionNullInt ¶
func DeserializeUnionNullInt(r io.Reader) (*UnionNullInt, error)
func DeserializeUnionNullIntFromSchema ¶
func DeserializeUnionNullIntFromSchema(r io.Reader, schema string) (*UnionNullInt, error)
func NewUnionNullInt ¶
func NewUnionNullInt() *UnionNullInt
func (*UnionNullInt) AppendArray ¶
func (_ *UnionNullInt) AppendArray() types.Field
func (*UnionNullInt) Finalize ¶
func (_ *UnionNullInt) Finalize()
func (*UnionNullInt) HintSize ¶
func (_ *UnionNullInt) HintSize(i int)
func (*UnionNullInt) MarshalJSON ¶
func (r *UnionNullInt) MarshalJSON() ([]byte, error)
func (*UnionNullInt) NullField ¶
func (_ *UnionNullInt) NullField(i int)
func (*UnionNullInt) Schema ¶
func (r *UnionNullInt) Schema() string
func (*UnionNullInt) SetBoolean ¶
func (_ *UnionNullInt) SetBoolean(v bool)
func (*UnionNullInt) SetBytes ¶
func (_ *UnionNullInt) SetBytes(v []byte)
func (*UnionNullInt) SetDefault ¶
func (_ *UnionNullInt) SetDefault(i int)
func (*UnionNullInt) SetDouble ¶
func (_ *UnionNullInt) SetDouble(v float64)
func (*UnionNullInt) SetFloat ¶
func (_ *UnionNullInt) SetFloat(v float32)
func (*UnionNullInt) SetInt ¶
func (_ *UnionNullInt) SetInt(v int32)
func (*UnionNullInt) SetLong ¶
func (r *UnionNullInt) SetLong(v int64)
func (*UnionNullInt) SetString ¶
func (_ *UnionNullInt) SetString(v string)
func (*UnionNullInt) UnmarshalJSON ¶
func (r *UnionNullInt) UnmarshalJSON(data []byte) error
type UnionNullIntTypeEnum ¶
type UnionNullIntTypeEnum int
const (
UnionNullIntTypeEnumInt UnionNullIntTypeEnum = 1
)
type UnionNullLong ¶
type UnionNullLong struct { Null *types.NullVal Long int64 UnionType UnionNullLongTypeEnum }
func DeserializeUnionNullLong ¶
func DeserializeUnionNullLong(r io.Reader) (*UnionNullLong, error)
func DeserializeUnionNullLongFromSchema ¶
func DeserializeUnionNullLongFromSchema(r io.Reader, schema string) (*UnionNullLong, error)
func NewUnionNullLong ¶
func NewUnionNullLong() *UnionNullLong
func (*UnionNullLong) AppendArray ¶
func (_ *UnionNullLong) AppendArray() types.Field
func (*UnionNullLong) Finalize ¶
func (_ *UnionNullLong) Finalize()
func (*UnionNullLong) HintSize ¶
func (_ *UnionNullLong) HintSize(i int)
func (*UnionNullLong) MarshalJSON ¶
func (r *UnionNullLong) MarshalJSON() ([]byte, error)
func (*UnionNullLong) NullField ¶
func (_ *UnionNullLong) NullField(i int)
func (*UnionNullLong) Schema ¶
func (r *UnionNullLong) Schema() string
func (*UnionNullLong) SetBoolean ¶
func (_ *UnionNullLong) SetBoolean(v bool)
func (*UnionNullLong) SetBytes ¶
func (_ *UnionNullLong) SetBytes(v []byte)
func (*UnionNullLong) SetDefault ¶
func (_ *UnionNullLong) SetDefault(i int)
func (*UnionNullLong) SetDouble ¶
func (_ *UnionNullLong) SetDouble(v float64)
func (*UnionNullLong) SetFloat ¶
func (_ *UnionNullLong) SetFloat(v float32)
func (*UnionNullLong) SetInt ¶
func (_ *UnionNullLong) SetInt(v int32)
func (*UnionNullLong) SetLong ¶
func (r *UnionNullLong) SetLong(v int64)
func (*UnionNullLong) SetString ¶
func (_ *UnionNullLong) SetString(v string)
func (*UnionNullLong) UnmarshalJSON ¶
func (r *UnionNullLong) UnmarshalJSON(data []byte) error
type UnionNullLongTypeEnum ¶
type UnionNullLongTypeEnum int
const (
UnionNullLongTypeEnumLong UnionNullLongTypeEnum = 1
)
type UnionNullString ¶
type UnionNullString struct { Null *types.NullVal String string UnionType UnionNullStringTypeEnum }
func DeserializeUnionNullString ¶
func DeserializeUnionNullString(r io.Reader) (*UnionNullString, error)
func DeserializeUnionNullStringFromSchema ¶
func DeserializeUnionNullStringFromSchema(r io.Reader, schema string) (*UnionNullString, error)
func NewUnionNullString ¶
func NewUnionNullString() *UnionNullString
func (*UnionNullString) AppendArray ¶
func (_ *UnionNullString) AppendArray() types.Field
func (*UnionNullString) Finalize ¶
func (_ *UnionNullString) Finalize()
func (*UnionNullString) HintSize ¶
func (_ *UnionNullString) HintSize(i int)
func (*UnionNullString) MarshalJSON ¶
func (r *UnionNullString) MarshalJSON() ([]byte, error)
func (*UnionNullString) NullField ¶
func (_ *UnionNullString) NullField(i int)
func (*UnionNullString) Schema ¶
func (r *UnionNullString) Schema() string
func (*UnionNullString) SetBoolean ¶
func (_ *UnionNullString) SetBoolean(v bool)
func (*UnionNullString) SetBytes ¶
func (_ *UnionNullString) SetBytes(v []byte)
func (*UnionNullString) SetDefault ¶
func (_ *UnionNullString) SetDefault(i int)
func (*UnionNullString) SetDouble ¶
func (_ *UnionNullString) SetDouble(v float64)
func (*UnionNullString) SetFloat ¶
func (_ *UnionNullString) SetFloat(v float32)
func (*UnionNullString) SetInt ¶
func (_ *UnionNullString) SetInt(v int32)
func (*UnionNullString) SetLong ¶
func (r *UnionNullString) SetLong(v int64)
func (*UnionNullString) SetString ¶
func (_ *UnionNullString) SetString(v string)
func (*UnionNullString) UnmarshalJSON ¶
func (r *UnionNullString) UnmarshalJSON(data []byte) error
type UnionNullStringTypeEnum ¶
type UnionNullStringTypeEnum int
const (
UnionNullStringTypeEnumString UnionNullStringTypeEnum = 1
)
Click to show internal directories.
Click to hide internal directories.