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() }