initial commit

This commit is contained in:
2021-02-05 23:57:51 +01:00
parent 7eaf2e717f
commit 64c307cb7b
15 changed files with 1182 additions and 0 deletions

14
main.go Normal file
View File

@@ -0,0 +1,14 @@
package main
func main() {
config := Config{
DataDir: "/var/lib/ddnsService",
Addr: ":8999", OAuth2ClientID: "0oa472q93Zu227hXY5d6",
OAuth2ClientSecret: "sj98SdfZxjkYxUd8NCbyhSuPX1D7kPARDRJ0kVUe",
IssuerUrl: "https://dev-1614211.okta.com/oauth2/default",
OAuth2RedirectUrl: "http://localhost:8999/admin",
ZoneUrl: "hub.voglfrei.net"}
server := CreateHttpServer(&config)
server.Listen()
}