server

package
v0.0.0-...-fa63688 Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebServer

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

WebServer HTTP server

func NewWebServer

func NewWebServer(menuh *handlers.AuthHandlers, log *utils.Log, meteoh *handlers.MeteoHandlers,
	logh *handlers.LogHandlers, visionh *handlers.VisionHandlers) *WebServer

NewWebServer make new struct

func (*WebServer) IndexHandler

func (w *WebServer) IndexHandler(ctx *fasthttp.RequestCtx)

IndexHandler Index handler

func (*WebServer) Start

func (w *WebServer) Start(ip string, port int, api string) error

Start start web server

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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