terminplan

package module
v0.0.0-...-a1c8ed0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 1 Imported by: 0

README

Terminplan

# Install
> go install github.com/peter-mueller/terminplan/cli/terminplan@latest
> terminplan help
help
	terminplan help
	terminplan admintoken
	terminplan serve
# Environment
TERMINPLAN_PORT=8080
TERMINPLAN_TOKENSECRET=
TERMINPLAN_TESTDATEN=true
Demo Screenshot 1 Demo Screenshot 2
# Backend-Dev
> cd cli/teminplan
> go run -tags=dev . serve

# Frontend-Dev
> cd www
> npm run dev

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aufgestellt

type Aufgestellt string
const (
	AufgestelltUnbekannt Aufgestellt = ""
	AufgestelltJa        Aufgestellt = "Ja"
	AufgestelltNein      Aufgestellt = "Nein"
)

type Benutzer

type Benutzer struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

type Teilnahme

type Teilnahme struct {
	TerminId    string       `json:"terminId"`
	BenutzerId  string       `json:"benutzerId"`
	Typ         TeilnahmeTyp `json:"typ"`
	Aufgestellt Aufgestellt  `json:"aufgestellt"`
}

type TeilnahmeStatistik

type TeilnahmeStatistik struct {
	Ja        uint `json:"ja"`
	Nein      uint `json:"nein"`
	Unbekannt uint `json:"unbekannt"`
}

type TeilnahmeTyp

type TeilnahmeTyp string
const (
	TeilnahmeUnbekannt TeilnahmeTyp = ""
	TeilnahmeJa        TeilnahmeTyp = "Ja"
	TeilnahmeNein      TeilnahmeTyp = "Nein"
)

type Termin

type Termin struct {
	Id string `json:"id"`

	Name   string `json:"name"`
	Ort    string `json:"ort"`
	Gegner string `json:"gegner"`

	Treffpunkt  time.Time `json:"treffpunkt"`
	SpielBeginn time.Time `json:"spielbeginn"`
}

Directories

Path Synopsis
cli
terminplan command

Jump to

Keyboard shortcuts

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