server

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: ISC Imports: 10 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
}

func NewServer

func NewServer(handler *roadmap.Handler, assetsDir, certFile, keyFile string) *Server

func (*Server) Start

func (s *Server) Start(quit chan os.Signal, port uint)

Serve sets up a Roadmapper HTTP service using echo

func (*Server) StartWithTeardown

func (s *Server) StartWithTeardown(port uint) func()

Jump to

Keyboard shortcuts

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