util/util.go @@ -97,6 +97,7 @@ // create server func NewSocketListen(mode int, url string, shm bool) (socket SocketContext, err error) { logger.Info("url is: ", url) ctx, cancel := context.WithCancel(context.Background()) socket.Context = ctx