1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-21 03:47:04 +00:00

Iris + WebAssemply = = 💓

Former-commit-id: 44f08f112cfba8006d2a6fe34e32b24e5c246856
This commit is contained in:
Gerasimos (Makis) Maropoulos
2018-07-09 09:13:36 +03:00
parent 0297afdc6b
commit cd5109ae0e
9 changed files with 485 additions and 0 deletions

View File

@@ -71,6 +71,11 @@ func main() {
// http://localhost:8080/noexist
// and all controller's methods like
// http://localhost:8080/users/1
// http://localhost:8080/user/register
// http://localhost:8080/user/login
// http://localhost:8080/user/me
// http://localhost:8080/user/logout
// basic auth: "admin", "password", see "./middleware/basicauth.go" source file.
app.Run(
// Starts the web server at localhost:8080
iris.Addr("localhost:8080"),