http

package
v0.0.0-...-3c1f4a5 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: Apache-2.0 Imports: 9 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 is the rest service.

func NewServer

func NewServer(logger log.Logger, host string, port int, dir string) *Server

NewServer prepares a new Server instance.

func (*Server) NotifyChanged

func (s *Server) NotifyChanged(version string)

func (*Server) Run

func (s *Server) Run() error

Run launches the server

func (*Server) Stop

func (s *Server) Stop()

Stop signals the server to halt gracefully.

Jump to

Keyboard shortcuts

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