application

package
v0.0.0-...-ec5001f Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller interface {
	SetRouter(r *mux.Router)
}

type Web

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

func NewWeb

func NewWeb() *Web

func (*Web) IsListening

func (self *Web) IsListening() bool

func (*Web) Register

func (self *Web) Register(path string, controller Controller)

func (*Web) ResetHandlers

func (self *Web) ResetHandlers()

func (*Web) Serve

func (self *Web) Serve(port uint) error

func (*Web) Stop

func (self *Web) Stop() error

Jump to

Keyboard shortcuts

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