server

package
v0.0.0-...-081779a Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2019 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 {
	Image file.Service
	// contains filtered or unexported fields
}

Server service struct

func New

func New(is file.Service, dataDir string, debug bool) *Server

New instatiates a Server service for use

func (*Server) Start

func (s *Server) Start(port string) error

Start initiates the Server service on the specified port

Jump to

Keyboard shortcuts

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