http

package
v6.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHttpServer

func NewHttpServer(mb mb.BaseMetricSet) (server.Server, error)

Types

type HttpConfig

type HttpConfig struct {
	Host string `config:"host"`
	Port int    `config:"port"`
}

type HttpEvent

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

func (*HttpEvent) GetEvent

func (h *HttpEvent) GetEvent() common.MapStr

func (*HttpEvent) GetMeta

func (h *HttpEvent) GetMeta() server.Meta

type HttpServer

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

func (*HttpServer) GetEvents

func (h *HttpServer) GetEvents() chan server.Event

func (*HttpServer) Start

func (h *HttpServer) Start() error

func (*HttpServer) Stop

func (h *HttpServer) Stop()

Jump to

Keyboard shortcuts

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