mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-09-22 09:59:04 +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 encodings
|
||||
import (
|
||||
"encoding/binary"
|
||||
"io"
|
||||
"vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
)
|
||||
|
||||
type CopyRectEncoding struct {
|
||||
|
@@ -3,7 +3,7 @@ package encodings
|
||||
import (
|
||||
"encoding/binary"
|
||||
"io"
|
||||
"vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
)
|
||||
|
||||
type CoRREEncoding struct {
|
||||
|
@@ -3,7 +3,7 @@ package encodings
|
||||
import (
|
||||
"io"
|
||||
"math"
|
||||
"vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
)
|
||||
|
||||
type EncCursorPseudo struct {
|
||||
|
@@ -2,8 +2,8 @@ package encodings
|
||||
|
||||
import (
|
||||
"io"
|
||||
"vncproxy/common"
|
||||
"vncproxy/logger"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/logger"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@@ -2,8 +2,8 @@ package encodings
|
||||
|
||||
import (
|
||||
"io"
|
||||
"vncproxy/common"
|
||||
"vncproxy/logger"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/logger"
|
||||
)
|
||||
|
||||
type EncLedStatePseudo struct {
|
||||
|
@@ -2,7 +2,7 @@ package encodings
|
||||
|
||||
import (
|
||||
"io"
|
||||
"vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
)
|
||||
|
||||
type PseudoEncoding struct {
|
||||
|
@@ -3,7 +3,7 @@ package encodings
|
||||
import (
|
||||
"bytes"
|
||||
"io"
|
||||
"vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
)
|
||||
|
||||
// RawEncoding is raw pixel data sent by the server.
|
||||
|
@@ -3,7 +3,7 @@ package encodings
|
||||
import (
|
||||
"encoding/binary"
|
||||
"io"
|
||||
"vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
)
|
||||
|
||||
type RREEncoding struct {
|
||||
|
@@ -4,8 +4,8 @@ import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"io"
|
||||
"vncproxy/common"
|
||||
"vncproxy/logger"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/logger"
|
||||
)
|
||||
|
||||
var TightMinToCompress int = 12
|
||||
|
@@ -3,8 +3,8 @@ package encodings
|
||||
import (
|
||||
"fmt"
|
||||
"io"
|
||||
"vncproxy/common"
|
||||
"vncproxy/logger"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/logger"
|
||||
)
|
||||
|
||||
type TightPngEncoding struct {
|
||||
|
@@ -4,7 +4,7 @@ import (
|
||||
"bytes"
|
||||
"encoding/binary"
|
||||
"io"
|
||||
"vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
)
|
||||
|
||||
type ZLibEncoding struct {
|
||||
|
@@ -4,7 +4,7 @@ import (
|
||||
"bytes"
|
||||
"encoding/binary"
|
||||
"io"
|
||||
"vncproxy/common"
|
||||
"github.com/amitbet/vncproxy/common"
|
||||
)
|
||||
|
||||
type ZRLEEncoding struct {
|
||||
|
Reference in New Issue
Block a user