influx

package
v1.79.13-cluster Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server accepts InfluxDB line protocol over TCP and UDP.

func MustStart

func MustStart(addr string, insertHandler func(r io.Reader) error) *Server

MustStart starts InfluxDB server on the given addr.

The incoming connections are processed with insertHandler.

MustStop must be called on the returned server when it is no longer needed.

func (*Server) MustStop

func (s *Server) MustStop()

MustStop stops the server.

Jump to

Keyboard shortcuts

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