httpserver

package
v0.0.0-...-41f06a2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2019 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPServer

type HTTPServer struct {
	// contains filtered or unexported fields
}

HTTPServer struct contains all server configuration and work.

func CreateHTTPServer

func CreateHTTPServer(
	cfg *cfgparser.CFG, srcAddr string,
	frScheduler *schedulers.FaceRecognitionScheduler,
	cpScheduler *schedulers.ControlPanelScheduler,
	fStorage *storages.FaceStorage,
	client *http.Client, logger *log.Logger) *HTTPServer

CreateHTTPServer creates new HTTPServer.

func (*HTTPServer) Run

func (s *HTTPServer) Run()

Run starts HTTPServer.

Jump to

Keyboard shortcuts

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