src

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartWebserver

func StartWebserver(opts StartWebserverOptions)

StartWebserver starts the webserver

Types

type ErrorResponse

type ErrorResponse struct {
	Error string `json:"error"`
}

ErrorResponse is the response send by the server when an error occurs

type StartWebserverOptions

type StartWebserverOptions struct {
	Addr              string
	BasicAuthUsername string
	BasicAuthPassword string
	Rand              *rand.Rand
	Dist              embed.FS
}

StartWebserverOptions are the options for the webserver

Directories

Path Synopsis
controller
lib
utils

Jump to

Keyboard shortcuts

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