server

package
v0.0.0-...-bf91d86 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2018 License: GPL-2.0, GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Router

type Router struct{}

func (*Router) ServeHTTP

func (_ *Router) ServeHTTP(w http.ResponseWriter, r *http.Request)

TODO: Make separated functions for each process to make it more clear.

type Server

type Server struct {
	Http         *http.Server
	ReverseProxy *httputil.ReverseProxy
	ProxyServer  *httptest.Server
}
var Instance Server

func (*Server) Shutdown

func (s *Server) Shutdown()

func (*Server) Start

func (s *Server) Start(port string)

Jump to

Keyboard shortcuts

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