Files
DdnsClient/main.go
2021-07-21 15:38:38 +02:00

15 lines
367 B
Go

package main
func main() {
config := Config{
DataDir: "/var/lib/ddnsService",
Addr: ":8999", OAuth2ClientID: "ddnsService",
OAuth2ClientSecret: "",
IssuerUrl: "https://auth.voglfrei.net/auth/realms/master",
OAuth2RedirectUrl: "http://localhost:8999/admin",
ZoneUrl: "hub.voglfrei.net"}
server := CreateHttpServer(&config)
server.Listen()
}