server

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2018 License: MIT Imports: 16 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 {
	Manager        *engine.Manager
	WatchedFolders []string

	Port             int
	WatchedPath      string
	WatchedRootFiles []string
	LiveReload       bool
	WatchDepth       int
	// contains filtered or unexported fields
}

func NewServer

func NewServer(manager *engine.Manager, port int, livereload bool) *Server

func (*Server) AddWatchedFolder

func (s *Server) AddWatchedFolder(folder string)

func (*Server) Listen

func (s *Server) Listen() error

Jump to

Keyboard shortcuts

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