+6
knotserver/config/config.go
+6
knotserver/config/config.go
···
24
24
Dev bool `env:"DEV, default=false"`
25
25
}
26
26
27
+
type Owner struct {
28
+
Did string `env:"DID, required"`
29
+
AppPassword string `env:"APP_PASSWORD, required"`
30
+
}
31
+
27
32
type Config struct {
28
33
Repo Repo `env:",prefix=KNOT_REPO_"`
29
34
Server Server `env:",prefix=KNOT_SERVER_"`
35
+
Owner Owner `env:",prefix=KNOT_OWNER_"`
30
36
AppViewEndpoint string `env:"APPVIEW_ENDPOINT, default=https://tangled.sh"`
31
37
}
32
38