network

package
v0.0.0-...-8969683 Latest Latest
Warning

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

Go to latest
Published: May 16, 2014 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPServer

type HTTPServer struct {
	flow.Gadget
	Handlers flow.Input
	Param    flow.Input
	Port     flow.Input
	Out      flow.Output
}

HTTPServer is a .Feed( which sets up an HTTP server.

func (*HTTPServer) Run

func (w *HTTPServer) Run()

Set up the handlers, then start the server and start processing requests.

type HttpEndpointInfo

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

information describing an http endpoint

func NewHttpEndpointInfo

func NewHttpEndpointInfo(addr, pem, key string) (*HttpEndpointInfo, error)

Jump to

Keyboard shortcuts

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