api

package
v0.0.0-...-02ef3c6 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Challenges

type Challenges struct {
	ChallengeStore domain.ChallengeStore
}

func (Challenges) ServeHTTP

func (handler Challenges) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Config

type Config struct {
	Config domain.Config
}

func (Config) ServeHTTP

func (handler Config) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Guesses

type Guesses struct {
	ChallengeResultStore domain.ChallengeResultStore
}

func (Guesses) ServeHTTP

func (handler Guesses) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Maps

type Maps struct {
	MapStore domain.MapStore
}

func (Maps) ServeHTTP

func (handler Maps) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Results

type Results struct {
	ChallengeResultStore domain.ChallengeResultStore
}

func (Results) ServeHTTP

func (handler Results) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Root

type Root struct {
	Config               domain.Config
	MapStore             domain.MapStore
	ChallengeStore       domain.ChallengeStore
	ChallengeResultStore domain.ChallengeResultStore

	ConfigHandler     Config
	MapsHandler       Maps
	ChallengesHandler Challenges
	ResultsHandler    Results
	GuessesHandler    Guesses
}

func (Root) ServeHTTP

func (handler Root) 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