serve

package
v0.0.0-...-e0f8732 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Port        int
	Storage     storage.Storage
	SiteBuilder sitebuilder.SiteBuilder
}

func NewApp

func NewApp(port int, storageType storage.StorageType) (*App, error)

func (*App) ListenAndServe

func (app *App) ListenAndServe()

type DistroHandler

type DistroHandler struct {
	App *App
}

func NewDistroHandler

func NewDistroHandler(app *App) *DistroHandler

type FileHandler

type FileHandler struct {
	App *App
}

func NewFileHandler

func NewFileHandler(app *App) *FileHandler

type LabelHandler

type LabelHandler struct {
	App *App
}

func NewLabelHandler

func NewLabelHandler(app *App) *LabelHandler

Jump to

Keyboard shortcuts

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