admin

package
v0.0.0-...-d8a2fef Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2016 License: BSD-3-Clause Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Administrator

type Administrator interface {
	ListenAndServe() error
	Stop()
}

Administrator is the admin interface of uq

type UnitedAdmin

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

UnitedAdmin is the HTTP admin server of uq

func NewUnitedAdmin

func NewUnitedAdmin(host string, port int, messageQueue queue.MessageQueue) (*UnitedAdmin, error)

NewUnitedAdmin returns a UnitedAdmin

func (*UnitedAdmin) ListenAndServe

func (s *UnitedAdmin) ListenAndServe() error

ListenAndServe implements the ListenAndServe interface

func (*UnitedAdmin) ServeHTTP

func (s *UnitedAdmin) ServeHTTP(w http.ResponseWriter, req *http.Request)

func (*UnitedAdmin) Stop

func (s *UnitedAdmin) Stop()

Stop implements the Stop interface

Jump to

Keyboard shortcuts

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