web

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

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

func NewApplication

func NewApplication(
	frontend fs.FS,
	store *storage.Storage,
) *Application

func (*Application) Router

func (app *Application) Router() http.Handler

func (*Application) Run

func (app *Application) Run(ctx context.Context, addr string) error

Directories

Path Synopsis
api
validator
Input validation helper based on Alex Edwards' package from Let's Go Further
Input validation helper based on Alex Edwards' package from Let's Go Further

Jump to

Keyboard shortcuts

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