Browse Source

No more github

main
Gitea 2 years ago
parent
commit
b30d0c3465
  1. 2
      src/fsys/file.go
  2. 2
      src/go.mod
  3. 2
      src/main.go
  4. 10
      src/node/node.go
  5. 2
      src/protocol/packet.go
  6. 2
      src/protocol/packetConstruct.go
  7. 2
      src/protocol/packetDecode.go
  8. 4
      src/protocol/send.go

2
src/fsys/file.go

@ -25,7 +25,7 @@ import (
"os"
"path/filepath"
"github.com/Unbewohnte/ftu/checksum"
"unbewohnte.xyz/Unbewohnte/ftu/checksum"
)
// A struct that represents the necessary file information for transportation through node

2
src/go.mod

@ -1,3 +1,3 @@
module github.com/Unbewohnte/ftu
module unbewohnte.xyz/Unbewohnte/ftu
go 1.17

2
src/main.go

@ -26,7 +26,7 @@ import (
"fmt"
"os"
"github.com/Unbewohnte/ftu/node"
"unbewohnte.xyz/Unbewohnte/ftu/node"
)
var (

10
src/node/node.go

@ -32,11 +32,11 @@ import (
"fmt"
"github.com/Unbewohnte/ftu/addr"
"github.com/Unbewohnte/ftu/checksum"
"github.com/Unbewohnte/ftu/encryption"
"github.com/Unbewohnte/ftu/fsys"
"github.com/Unbewohnte/ftu/protocol"
"unbewohnte.xyz/Unbewohnte/ftu/addr"
"unbewohnte.xyz/Unbewohnte/ftu/checksum"
"unbewohnte.xyz/Unbewohnte/ftu/encryption"
"unbewohnte.xyz/Unbewohnte/ftu/fsys"
"unbewohnte.xyz/Unbewohnte/ftu/protocol"
)
// netInfowork specific settings

2
src/protocol/packet.go

@ -31,7 +31,7 @@ import (
"fmt"
"strings"
"github.com/Unbewohnte/ftu/encryption"
"unbewohnte.xyz/Unbewohnte/ftu/encryption"
)
// Internal representation of packet before|after the transportation

2
src/protocol/packetConstruct.go

@ -25,7 +25,7 @@ import (
"bytes"
"encoding/binary"
"github.com/Unbewohnte/ftu/fsys"
"unbewohnte.xyz/Unbewohnte/ftu/fsys"
)
// constructs a ready to send FILE packet

2
src/protocol/packetDecode.go

@ -26,7 +26,7 @@ import (
"encoding/binary"
"fmt"
"github.com/Unbewohnte/ftu/fsys"
"unbewohnte.xyz/Unbewohnte/ftu/fsys"
)
var ErrorWrongPacket error = fmt.Errorf("wrong type of packet header")

4
src/protocol/send.go

@ -28,8 +28,8 @@ import (
"io"
"net"
"github.com/Unbewohnte/ftu/encryption"
"github.com/Unbewohnte/ftu/fsys"
"unbewohnte.xyz/Unbewohnte/ftu/encryption"
"unbewohnte.xyz/Unbewohnte/ftu/fsys"
)
// Sends given packet to connection.

Loading…
Cancel
Save