Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type WebSocket ¶
type WebSocket struct { URL string `toml:"url"` ConnectTimeout time.Duration `toml:"connect_timeout"` WriteTimeout time.Duration `toml:"write_timeout"` ReadTimeout time.Duration `toml:"read_timeout"` Headers map[string]string `toml:"headers"` UseTextFrames bool `toml:"use_text_frames"` // contains filtered or unexported fields }
WebSocket can output to WebSocket endpoint. This is a direct copy of the telegraf websocket output plugin
func NewWebSocket ¶
Click to show internal directories.
Click to hide internal directories.