Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶
func NewConnection(newSender SenderFactory) *Connection
func (*Connection) Close ¶
func (c *Connection) Close()
func (*Connection) Connect ¶
func (c *Connection) Connect(addr string) error
func (*Connection) Flush ¶
func (c *Connection) Flush()
func (*Connection) Send ¶
func (c *Connection) Send(metrics []Metric)
type Metric ¶
type SenderFactory ¶
func WavefrontSenderFactory ¶
func WavefrontSenderFactory(options ...senders.Option) SenderFactory
Click to show internal directories.
Click to hide internal directories.