Compare commits

..

2 Commits

Author SHA1 Message Date
wpetit edf8653059 chore: move examples to specifics packages 2024-08-05 17:53:36 +02:00
wpetit d27333c546 feat: init go module 2024-08-05 17:53:13 +02:00
4 changed files with 10 additions and 2 deletions

View File

@ -1,11 +1,12 @@
package main package main
import ( import (
"forge.cadoles.com/Pyxis/golang-socketio"
"forge.cadoles.com/Pyxis/golang-socketio/transport"
"log" "log"
"net/http" "net/http"
"time" "time"
gosocketio "forge.cadoles.com/Pyxis/golang-socketio"
"forge.cadoles.com/Pyxis/golang-socketio/transport"
) )
type Channel struct { type Channel struct {

5
go.mod Normal file
View File

@ -0,0 +1,5 @@
module forge.cadoles.com/Pyxis/golang-socketio
go 1.22.5
require github.com/gorilla/websocket v1.5.3

2
go.sum Normal file
View File

@ -0,0 +1,2 @@
github.com/gorilla/websocket v1.5.3 h1:saDtZ6Pbx/0u+bgYQ3q96pZgCzfhKXGPqt7kZ72aNNg=
github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=