server

package
v0.0.0-...-c191180 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2015 License: MIT Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpApiFunc

type HttpApiFunc func(eng *engine.Engine, w http.ResponseWriter, r *http.Request, vars map[string]string) error

type HttpServer

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

func (*HttpServer) Close

func (s *HttpServer) Close() error

func (*HttpServer) Serve

func (s *HttpServer) Serve() error

type Server

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

func New

func New(eng *engine.Engine, kube bool) *Server

func (*Server) CreateServer

func (s *Server) CreateServer(eng *engine.Engine, protoAddrs []string) error

Jump to

Keyboard shortcuts

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