static

package
v0.0.0-...-652a4c9 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleShaUrl

func HandleShaUrl(directory string, h http.Handler, scoutingDatabase ScoutingDatabase) http.Handler

func MaybeNoCache

func MaybeNoCache(h http.Handler) http.Handler

func ServePages

func ServePages(scoutingServer server.ScoutingServer, directory string, scoutingDatabase ScoutingDatabase)

Types

type ScoutingDatabase

type ScoutingDatabase interface {
	QueryPitImageByChecksum(checksum string) (db.PitImage, error)
}

Jump to

Keyboard shortcuts

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