web

package
v1.7.12 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2022 License: ISC Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectsPage

type ProjectsPage struct {
	Title    string
	Projects []*vc.Project
}

type Service

type Service interface {
	GetProjects() ([]*vc.Project, error)
}

type Web

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

func New

func New(fsys fs.FS, service Service) (*Web, error)

func (*Web) ServeHTTP

func (web *Web) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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