opentsdbhttp

package
v1.32.7 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server added in v1.31.1

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

Server represents HTTP OpenTSDB server.

func MustServe added in v1.31.1

func MustServe(ln net.Listener) *Server

MustServe serves OpenTSDB HTTP put requests from ln.

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

func MustStart added in v1.31.1

func MustStart(addr string) *Server

MustStart starts HTTP OpenTSDB server on the given addr.

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

func (*Server) MustStop added in v1.31.1

func (s *Server) MustStop()

MustStop stops HTTP OpenTSDB server.

func (*Server) Wait added in v1.31.1

func (s *Server) Wait()

Wait waits until the server is stopped with MustStop.

Jump to

Keyboard shortcuts

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