Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed May 19, 2024
1 parent 0f97ad9 commit 6d59b4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion socketio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ go get -u github.com/gofiber/contrib/socketio
```go
// Initialize new socketio in the callback this will
// execute a callback that expects kws *Websocket Object
func New(callback func(kws *Websocket)) func(*fiber.Ctx) error
// and optional config websocket.Config
func New(callback func(kws *Websocket), config ...websocket.Config) func(*fiber.Ctx) error
```

```go
Expand Down

0 comments on commit 6d59b4d

Please sign in to comment.