ftue

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2026 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultDBFilePath     = "/config/at2.db"
	DefaultConfigFilePath = "/config/auththingie2.yaml"
	DefaultPort           = 9000
)
View Source
const (
	MaxBodySize = 10 * 1024 * 1024 // 10 MB
)

Variables

This section is empty.

Functions

func GetRootDomain

func GetRootDomain(requestURL *url.URL) string

func HandlePathComplete

func HandlePathComplete(w http.ResponseWriter, r *http.Request)

func HandleRestartPage

func HandleRestartPage(w http.ResponseWriter, r *http.Request)

func HandleRestartPost

func HandleRestartPost(w http.ResponseWriter, r *http.Request)

func PathAutoComplete

func PathAutoComplete(curr string) []string

func RunFTUEServer

func RunFTUEServer(step Step)

func TestWrite

func TestWrite(path string) error

Types

type Step

type Step int
const (
	StepStartFromBeginning Step = iota
	StepConfigExists
)

Jump to

Keyboard shortcuts

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