I am struggling with a piece of code that uses gqlgen and go fiber to create subscriptions.
This should solve it but I can't implement it
[login to view URL]
I am getting this error message where the http responder needs to be upgraded to use sockets.
unable to upgrade *[login to view URL] to websocket websocket: response does not implement [login to view URL]:
func graphqlServer() [login to view URL]
srv := [login to view URL]([login to view URL]([login to view URL]: &[login to view URL]))
[login to view URL]([login to view URL]
KeepAlivePingInterval: 5 * [login to view URL],
Upgrader: [login to view URL]
CheckOrigin: func(r *[login to view URL]) bool
return true
)
[login to view URL]([login to view URL])
[login to view URL]([login to view URL])
[login to view URL]([login to view URL])
[login to view URL]([login to view URL])
[login to view URL]([login to view URL])
Hello, I’m currently working as a Golang developer, let’s take a closer look at the requirements. Then we can make a decision that will benefit both of us.