Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProductOwner = "product-owner" Developer = "developer" )
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(upgrader *websocket.Upgrader, config *GuessConfig, logger *slog.Logger) *Application
func (*Application) ListenForRoomDestroy ¶
func (app *Application) ListenForRoomDestroy()
func (*Application) Routes ¶
func (app *Application) Routes() *http.ServeMux
type Client ¶
type GuessConfig ¶
type GuessConfig struct {
Guesses []guessConfigEntry
}
func NewGuessConfig ¶
func NewGuessConfig(possibleGuesses, possibleGuessesDescription string) (*GuessConfig, error)
Click to show internal directories.
Click to hide internal directories.