server

package
v0.0.0-...-b668cd4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JoinAPIPattern = "/exporter/join?exporter_tag=%s"
	DataAPIPattern = "/exporter/data"
	QuitAPIPattern = "/exporter/quit?exporter_tag=%s&lazy_quit=%v"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ExporterServer

type ExporterServer struct {
	// contains filtered or unexported fields
}

ExporterServer 串行化的,无需加锁

func NewExporterServer

func NewExporterServer(conf config.ExporterConfig, stopCh <-chan struct{}) *ExporterServer

func (*ExporterServer) Run

func (s *ExporterServer) Run()

Run 不会加锁,所以不要调用多次

Jump to

Keyboard shortcuts

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