webserver

package
v0.2.48 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: MIT Imports: 18 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 represents a webserver.

func NewServer

func NewServer(l *loader.Loader) (*Server, error)

NewServer returns a new web server configured with the given loader.

func (*Server) Serve

func (ws *Server) Serve(hostAndPort string) error

Serve offers an http service.

Jump to

Keyboard shortcuts

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