admin

package
v0.9.0-rc29 Latest Latest
Warning

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

Go to latest
Published: May 6, 2015 License: MIT Imports: 7 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 manages InfluxDB's admin web server.

func NewServer

func NewServer(addr string) *Server

NewServer constructs a new admin web server. The "addr" argument should be a string that looks like ":8083" or whatever addr to serve on.

func (*Server) Close

func (s *Server) Close() error

Close stops the admin web server.

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() error

ListenAndServe starts the admin web server and serves requests until s.Close() is called.

Jump to

Keyboard shortcuts

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