server

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2016 License: MIT Imports: 11 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 {
	Client client.IFace
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config, mux *web.Mux, cl client.IFace) (srv *Server)

func NewDefault

func NewDefault() (srv *Server)

func (*Server) BindMux

func (srv *Server) BindMux() *Server

func (*Server) Serve

func (srv *Server) Serve()

func (*Server) Use

func (srv *Server) Use(mdl ...web.MiddlewareType) *Server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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