api

package
v3.6.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: LGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager api manager

func NewManager

func NewManager(c option.Conf, node *model.HostNode, ms *masterserver.MasterServer, exporter *statsd.Exporter) *Manager

NewManager api manager

func (*Manager) HandleStatsd

func (m *Manager) HandleStatsd(w http.ResponseWriter, r *http.Request)

HandleStatsd statsd handle

func (*Manager) ReloadStatsdMappConfig

func (m *Manager) ReloadStatsdMappConfig(w http.ResponseWriter, r *http.Request)

ReloadStatsdMappConfig ReloadStatsdMappConfig

func (*Manager) Start

func (m *Manager) Start(errChan chan error) error

Start 启动

func (*Manager) Stop

func (m *Manager) Stop() error

Stop 停止

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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