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:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user