server

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

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

Go to latest
Published: Apr 17, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server represents a server

func New

func New(port int, path string) (*Server, error)

New creates a new server, pre-seeded with data from path (if it's not "")

func (*Server) Run

func (s *Server) Run()

Run runs the server

Jump to

Keyboard shortcuts

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