app

package
v0.0.0-...-ad25176 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: MIT Imports: 10 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 {
	// contains filtered or unexported fields
}

Server is the instance of the local server to be deployed.

func NewServer

func NewServer() *Server

NewServer is constructor for the server.

func (*Server) Init

func (s *Server) Init()

Init instantiates whatever is needed at the beginning

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP passes request to the server going through all the routes and middlewares.

Jump to

Keyboard shortcuts

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