datatracker

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogstashClient

type LogstashClient struct {
	URL string
}

LogstashClient 定义结构体

func NewLogstashClient

func NewLogstashClient() *LogstashClient

NewLogstashClient 单例模式创建客户端

func (*LogstashClient) SendData

func (c *LogstashClient) SendData(data ...interface{})

SendData 异步发送数据

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL