Added code to broadcast api (#1)

Reviewed-on: phoenix/textsender-auth#1
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix
2025-09-02 22:35:50 +00:00
committed by phoenix
parent 9da2aaebb0
commit 76e7dd7749
+9 -1
View File
@@ -1,9 +1,17 @@
package main
import "net/http"
import "log"
import "fmt"
// Port that the application runs on
const Port = 9080
func main() {
fmt.Println("textsender-auth")
portListen := fmt.Sprintf(":%d", Port)
log.Println("Starting server port:", Port)
log.Fatal(http.ListenAndServe(portListen, nil))
}