Documentation
¶
Index ¶
- Variables
- type Config
- type EventTimeExtension
- type Fluent
- func (f *Fluent) Alive() bool
- func (f *Fluent) Close() (err error)
- func (f *Fluent) IsReconnecting() bool
- func (f *Fluent) LastErrorString() string
- func (f *Fluent) RefreshConnection() error
- func (f *Fluent) Send(buffer []byte) (err error)
- func (f *Fluent) Shutdown()
- func (f *Fluent) String() string
- type FluentRecord
- type FluentRecordSet
- type FluentRecordType
- type TinyFluentMessage
- type TinyFluentRecord
Constants ¶
This section is empty.
Variables ¶
View Source
var (
EnableEventTime = false
)
Functions ¶
This section is empty.
Types ¶
type EventTimeExtension ¶ added in v0.2.0
type EventTimeExtension struct{}
func (*EventTimeExtension) ReadExt ¶ added in v0.2.0
func (e *EventTimeExtension) ReadExt(dst interface{}, src []byte)
func (*EventTimeExtension) WriteExt ¶ added in v0.2.0
func (e *EventTimeExtension) WriteExt(v interface{}) []byte
type Fluent ¶
func (*Fluent) IsReconnecting ¶
IsReconnecting return true if a reconnecting process in progress.
func (*Fluent) LastErrorString ¶
func (*Fluent) RefreshConnection ¶ added in v0.1.3
type FluentRecord ¶
func (*FluentRecord) GetAllData ¶ added in v0.0.9
func (r *FluentRecord) GetAllData() map[string]interface{}
func (*FluentRecord) GetData ¶ added in v0.0.9
func (r *FluentRecord) GetData(key string) (interface{}, bool)
func (FluentRecord) Pack ¶
func (r FluentRecord) Pack() ([]byte, error)
func (*FluentRecord) String ¶ added in v0.0.9
func (r *FluentRecord) String() string
type FluentRecordSet ¶
type FluentRecordSet struct { Tag string Records []FluentRecordType }
func DecodeEntries ¶
func DecodeEntries(conn net.Conn) ([]FluentRecordSet, error)
func (*FluentRecordSet) PackAsForward ¶
func (rs *FluentRecordSet) PackAsForward() ([]byte, error)
func (*FluentRecordSet) PackAsPackedForward ¶
func (rs *FluentRecordSet) PackAsPackedForward() ([]byte, error)
type FluentRecordType ¶ added in v0.0.2
type TinyFluentMessage ¶ added in v0.0.2
func (*TinyFluentMessage) GetAllData ¶ added in v0.0.9
func (r *TinyFluentMessage) GetAllData() map[string]interface{}
func (*TinyFluentMessage) GetData ¶ added in v0.0.2
func (r *TinyFluentMessage) GetData(key string) (interface{}, bool)
func (*TinyFluentMessage) Pack ¶ added in v0.0.2
func (r *TinyFluentMessage) Pack() ([]byte, error)
func (*TinyFluentMessage) String ¶ added in v0.0.9
func (r *TinyFluentMessage) String() string
type TinyFluentRecord ¶
func (*TinyFluentRecord) GetAllData ¶ added in v0.0.9
func (r *TinyFluentRecord) GetAllData() map[string]interface{}
func (*TinyFluentRecord) GetData ¶ added in v0.0.2
func (r *TinyFluentRecord) GetData(key string) (interface{}, bool)
func (*TinyFluentRecord) Pack ¶
func (r *TinyFluentRecord) Pack() ([]byte, error)
func (*TinyFluentRecord) String ¶ added in v0.0.9
func (r *TinyFluentRecord) String() string
Click to show internal directories.
Click to hide internal directories.