23 lines
497 B
Go
23 lines
497 B
Go
package policy
|
|
|
|
import (
|
|
"git.gammaspectra.live/git/go-away/utils"
|
|
"net/http"
|
|
)
|
|
|
|
type Settings struct {
|
|
Cache utils.Cache
|
|
Backends map[string]http.Handler
|
|
PrivateKeySeed []byte
|
|
Debug bool
|
|
MainName string
|
|
MainVersion string
|
|
PackageName string
|
|
ChallengeTemplate string
|
|
ChallengeTemplateTheme string
|
|
ClientIpHeader string
|
|
BackendIpHeader string
|
|
|
|
ChallengeResponseCode int
|
|
}
|