server

package
v0.0.0-...-1c2aa41 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2017 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	HTTP config.HTTP
	// contains filtered or unexported fields
}

func New

func New(db *database.Database, config config.HTTP) *Server

func (*Server) AddRouter

func (s *Server) AddRouter(r router.Router)

func (*Server) GetDefaultHandler

func (s *Server) GetDefaultHandler() http.Handler

func (*Server) Start

func (s *Server) Start() error

Start HTTP server

Directories

Path Synopsis
from docker's httputils from docker's httputils
from docker's httputils from docker's httputils

Jump to

Keyboard shortcuts

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