server

package
v0.0.0-...-4d509b2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const StatusInternalServerError = 500
View Source
const StatusNotFound = 404

Variables

This section is empty.

Functions

This section is empty.

Types

type MkContext

type MkContext struct {
}

type Server

type Server struct {
	Port   int
	Router *web.Router
}

func NewServer

func NewServer(port int) *Server

func (*Server) Run

func (server *Server) Run()

Jump to

Keyboard shortcuts

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