Skip to content
Discussion options

You must be logged in to vote

Compared to V2, V3 has optimized and fixed many issues, while the other functionalities remain the same as in V2. However, some work in V3 is still unfinished (such as example code and bug fixes), so it will take some time before the official release.
Below is the currently available sample code:

package main

import (
	"net/http"
	"os"
	"os/signal"
	"syscall"
	"time"

	"github.com/gin-gonic/gin"
	"github.com/zishang520/socket.io/servers/engine/v3"
	"github.com/zishang520/socket.io/servers/socket/v3"
	"github.com/zishang520/socket.io/v3/pkg/log"
	"github.com/zishang520/socket.io/v3/pkg/types"
	"github.com/zishang520/socket.io/v3/pkg/webtransport"
)

func main() {
	log.DEBUG = true
	c := s…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@bneigher
Comment options

Answer selected by bneigher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants