mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-09-23 10:28:54 +00:00
global: make the whole package go mod ready
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
This commit is contained in:
@@ -3,7 +3,7 @@ package server
|
||||
import (
|
||||
"encoding/binary"
|
||||
"io"
|
||||
"vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
)
|
||||
|
||||
// Key represents a VNC key press.
|
||||
|
@@ -3,10 +3,10 @@ package server
|
||||
import (
|
||||
"encoding/binary"
|
||||
"fmt"
|
||||
"vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
|
||||
"io"
|
||||
"vncproxy/logger"
|
||||
"github.com/amitbet/vncproxy/logger"
|
||||
)
|
||||
|
||||
const ProtoVersionLength = 12
|
||||
|
@@ -6,7 +6,7 @@ import (
|
||||
"crypto/rand"
|
||||
"errors"
|
||||
"log"
|
||||
"vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
)
|
||||
|
||||
type SecurityType uint8
|
||||
|
@@ -5,8 +5,8 @@ import (
|
||||
"fmt"
|
||||
"io"
|
||||
"sync"
|
||||
"vncproxy/common"
|
||||
"vncproxy/logger"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/logger"
|
||||
)
|
||||
|
||||
type ServerConn struct {
|
||||
|
@@ -5,7 +5,7 @@ import (
|
||||
"io"
|
||||
"log"
|
||||
"net"
|
||||
"vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
)
|
||||
|
||||
var DefaultClientMessages = []common.ClientMessage{
|
||||
|
@@ -3,8 +3,8 @@ package server
|
||||
import (
|
||||
"log"
|
||||
"testing"
|
||||
"vncproxy/common"
|
||||
"vncproxy/encodings"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/encodings"
|
||||
)
|
||||
|
||||
func newServerConnHandler(cfg *ServerConfig, conn *ServerConn) error {
|
||||
|
@@ -4,7 +4,7 @@ import (
|
||||
"io"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"vncproxy/logger"
|
||||
"github.com/amitbet/vncproxy/logger"
|
||||
|
||||
"golang.org/x/net/websocket"
|
||||
)
|
||||
|
Reference in New Issue
Block a user