Private
Public Access
1
0

Initial commit: conversaions, status, version

This commit is contained in:
2023-06-16 23:35:41 -07:00
commit a2b14c88ea
8 changed files with 361 additions and 0 deletions

23
main.go Normal file
View File

@@ -0,0 +1,23 @@
package main
import (
"log"
"net/http"
"code.severnaya.net/kordophone-mock/v2/web"
)
func main() {
log.Println("Initializing")
s := web.NewMockHTTPServer()
httpServer := &http.Server{
Addr: ":5738",
Handler: s,
}
// Populate with test data
s.Server.PopulateWithTestData()
log.Fatal(httpServer.ListenAndServe())
}