This commit is contained in:
lhj
2024-09-12 01:11:03 +08:00
parent 118e1ec0a5
commit c7a02db8fe
8 changed files with 203 additions and 0 deletions

13
main.go Normal file
View File

@ -0,0 +1,13 @@
package ssoService
import (
"log"
"net/http"
)
func main() {
http.HandleFunc("/login", loginHandler)
http.HandleFunc("/callback", callbackHandler)
http.HandleFunc("/user", userHandler)
log.Fatal(http.ListenAndServe(":8090", nil))
}