initial commit
This commit is contained in:
14
main.go
Normal file
14
main.go
Normal 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()
|
||||
}
|
||||
Reference in New Issue
Block a user