server

package
v0.0.0-...-d73b14a Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	Release()
	HealthHttpHandler(w http.ResponseWriter, r *http.Request)
	CreateSessionHttpHandler(w http.ResponseWriter, r *http.Request)
	CreateUserHttpHandler(w http.ResponseWriter, r *http.Request)
	GetUserHttpHandler(w http.ResponseWriter, r *http.Request)
	StartVoteHttpHandler(w http.ResponseWriter, r *http.Request)
	FinishVoteHttpHandler(w http.ResponseWriter, r *http.Request)
	CastVoteHttpHandler(w http.ResponseWriter, r *http.Request)
	Service() *service.Service
}

func NewServer

func NewServer(config config.Config) Server

Jump to

Keyboard shortcuts

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