server

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2016 License: MIT Imports: 12 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(bind, redis string) types.Startable

NewServer returns a new instrance of the server

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server holds all state for routing to services

func (*Server) ServeHTTP added in v0.1.0

func (s *Server) ServeHTTP(ctx *fasthttp.RequestCtx)

ServerHTTP is the default HTTP handler for services

func (*Server) Start

func (s *Server) Start()

Start start the server and listens for changes to the services

Jump to

Keyboard shortcuts

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