forked from tangled.org/core
this repo has no description

knotserver: add owner env vars

Signed-off-by: oppiliappan <me@oppi.li>

Changed files
+6
knotserver
config
+6
knotserver/config/config.go
···
Dev bool `env:"DEV, default=false"`
}
+
type Owner struct {
+
Did string `env:"DID, required"`
+
AppPassword string `env:"APP_PASSWORD, required"`
+
}
+
type Config struct {
Repo Repo `env:",prefix=KNOT_REPO_"`
Server Server `env:",prefix=KNOT_SERVER_"`
+
Owner Owner `env:",prefix=KNOT_OWNER_"`
AppViewEndpoint string `env:"APPVIEW_ENDPOINT, default=https://tangled.sh"`
}