Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SocketWriter ¶
type SocketWriter struct {
ContentEncoding string `toml:"content_encoding"`
Address string
KeepAlivePeriod *config.Duration
common_tls.ClientConfig
Log telegraf.Logger `toml:"-"`
net.Conn
// contains filtered or unexported fields
}
func (*SocketWriter) Close ¶
func (sw *SocketWriter) Close() error
Close closes the connection. Noop if already closed.
func (*SocketWriter) Connect ¶
func (sw *SocketWriter) Connect() error
func (*SocketWriter) SampleConfig ¶
func (*SocketWriter) SampleConfig() string
func (*SocketWriter) SetSerializer ¶
func (sw *SocketWriter) SetSerializer(s telegraf.Serializer)
Click to show internal directories.
Click to hide internal directories.