server

package
v0.0.0-...-2030a5d Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2017 License: MIT Imports: 12 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 {
	// contains filtered or unexported fields
}

Server provides the web interface for the application.

func New

func New(addr, dataDir string) (*Server, error)

New creates a new server instance.

func (*Server) Start

func (s *Server) Start() error

Start begins listening on the specified address.

func (*Server) Stop

func (s *Server) Stop()

Stop shuts down the server.

Jump to

Keyboard shortcuts

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