1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 10:27:06 +00:00

Add a gRPC router wrapper, useful for the upcoming grpc controller example

Former-commit-id: ae4c29597ce1336a74278b86b59d08b6c91eab0a
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-03-06 12:28:08 +02:00
parent 0d26f24eb7
commit dd18dc9ee8
2 changed files with 35 additions and 0 deletions

View File

@@ -52,3 +52,8 @@ func main() {
iris.WithoutServerError(iris.ErrServerClosed),
)
}
/*
If you want to enable CORS in your websocket handler,
please follow this post: https://github.com/googollee/go-socket.io/issues/242
*/