httpserver

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(templatesDir string, errorLogger *log.Logger)

func SetConnectionHandler

func SetConnectionHandler(ch *httphandler.Requests)

func SetUpLogger

func SetUpLogger(infoLogger *log.Logger, errorLogger *log.Logger)

func SetUpRouter

func SetUpRouter(staticDir string)

func SetUpServer

func SetUpServer(addr string, errorLogger *log.Logger)

func SetUpdateFetcher

func SetUpdateFetcher(uf *httphandler.UpdateFetcher)

func Start

func Start()

Types

type HttpServerLogger

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

type Render

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

type Router

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

The httphandler Requests class

Jump to

Keyboard shortcuts

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