server

package
v0.0.0-...-90f9a36 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2016 License: GPL-2.0 Imports: 7 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 {
	HttpServer *negroni.Negroni
	// contains filtered or unexported fields
}

Server encapsulates a HTTP server

func New

func New(configRepository config.Repository, fetcher services.UrlFetcher) (*Server, error)

New creates a new server instance

func (*Server) Init

func (s *Server) Init()

Init initialize all server objects instances

func (*Server) Run

func (s *Server) Run()

Run the web server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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