graphite

package
v1.79.5-cluster Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 12 Imported by: 1

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 Graphite plaintext lines over TCP and UDP.

func MustStart

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

MustStart starts graphite 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