Skip to content

Commit

Permalink
Merge pull request #4 from domsolutions/update-deps
Browse files Browse the repository at this point in the history
update dependencies
  • Loading branch information
domsolutions authored Jun 30, 2023
2 parents 86a4617 + 019b89a commit 4a72945
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 229 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ gopayloader.zip
gopayloader-darwin-amd64
gopayloader-linux-amd64
gopayloader-windows-amd64.exe
*.tar.gz
6 changes: 3 additions & 3 deletions build-release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

GOOS=windows go build -o gopayloader-windows-amd64.exe ./
GOOS=linux go build -o gopayloader-linux-amd64 ./
GOOS=darwin go build -o gopayloader-darwin-amd64 ./
GOOS=windows go build -o gopayloader-windows-amd64.exe ./ && tar -czvf gopayloader-windows-amd64.tar.gz gopayloader-windows-amd64.exe
GOOS=linux go build -o gopayloader-linux-amd64 ./ && tar -czvf gopayloader-linux-amd64.tar.gz gopayloader-linux-amd64
GOOS=darwin go build -o gopayloader-darwin-amd64 ./ && tar -czvf gopayloader-darwin-amd64.tar.gz gopayloader-darwin-amd64
17 changes: 0 additions & 17 deletions cmd/payloader/test-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@ import (
"bufio"
"crypto/tls"
"errors"
"fmt"
"github.com/quic-go/quic-go"
httpv3server "github.com/quic-go/quic-go/http3"
"github.com/quic-go/quic-go/logging"
"github.com/quic-go/quic-go/qlog"
"github.com/spf13/cobra"
"github.com/valyala/fasthttp"
"io"
"log"
"net/http"
"os"
Expand Down Expand Up @@ -127,19 +123,6 @@ var runServerCmd = &cobra.Command{
quicConf := &quic.Config{
EnableDatagrams: true,
}
if debug {
quicConf.Tracer = qlog.NewTracer(func(_ logging.Perspective, connID []byte) io.WriteCloser {
filename := fmt.Sprintf("server_%x.qlog", connID)
f, err := os.Create(filename)
if err != nil {
log.Fatal(err)
}
log.Printf("Creating qlog file %s.\n", filename)
return &MyWriteCloser{
bufio.NewWriter(f),
}
})
}

tlsConfigServer := tlsConfig()

Expand Down
38 changes: 18 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,43 +7,41 @@ require (
github.com/golang-jwt/jwt v3.2.2+incompatible
github.com/google/uuid v1.3.0
github.com/jedib0t/go-pretty/v6 v6.4.6
github.com/pterm/pterm v0.12.59
github.com/quic-go/quic-go v0.33.0
github.com/pterm/pterm v0.12.62
github.com/quic-go/quic-go v0.36.0
github.com/spf13/cobra v1.7.0
github.com/valyala/fasthttp v1.34.0
github.com/valyala/fasthttp v1.48.0
golang.org/x/text v0.10.0
)

require (
atomicgo.dev/cursor v0.1.1 // indirect
atomicgo.dev/cursor v0.1.2 // indirect
atomicgo.dev/keyboard v0.2.9 // indirect
atomicgo.dev/schedule v0.0.2 // indirect
github.com/andybalholm/brotli v1.0.5 // indirect
github.com/containerd/console v1.0.3 // indirect
github.com/francoispqt/gojay v1.2.13 // indirect
github.com/go-redis/redis v6.15.9+incompatible // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/golang/mock v1.6.0 // indirect
github.com/google/pprof v0.0.0-20230406165453-00490a63f317 // indirect
github.com/google/pprof v0.0.0-20230602150820-91b7bce49751 // indirect
github.com/gookit/color v1.5.3 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/klauspost/compress v1.16.3 // indirect
github.com/lithammer/fuzzysearch v1.1.5 // indirect
github.com/klauspost/compress v1.16.6 // indirect
github.com/lithammer/fuzzysearch v1.1.8 // indirect
github.com/mattn/go-runewidth v0.0.14 // indirect
github.com/onsi/ginkgo/v2 v2.9.2 // indirect
github.com/onsi/ginkgo/v2 v2.11.0 // indirect
github.com/quic-go/qpack v0.4.0 // indirect
github.com/quic-go/qtls-go1-19 v0.3.2 // indirect
github.com/quic-go/qtls-go1-20 v0.2.2 // indirect
github.com/redis/go-redis v6.15.9+incompatible // indirect
github.com/rivo/uniseg v0.4.4 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fastrand v1.0.0 // indirect
github.com/valyala/fastrand v1.1.0 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
golang.org/x/crypto v0.8.0 // indirect
golang.org/x/exp v0.0.0-20230418202329-0354be287a23 // indirect
golang.org/x/mod v0.10.0 // indirect
golang.org/x/net v0.9.0 // indirect
golang.org/x/sys v0.7.0 // indirect
golang.org/x/term v0.7.0 // indirect
golang.org/x/text v0.9.0 // indirect
golang.org/x/tools v0.8.0 // indirect
golang.org/x/crypto v0.10.0 // indirect
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df // indirect
golang.org/x/mod v0.11.0 // indirect
golang.org/x/net v0.11.0 // indirect
golang.org/x/sys v0.9.0 // indirect
golang.org/x/term v0.9.0 // indirect
golang.org/x/tools v0.10.0 // indirect
)
Loading

0 comments on commit 4a72945

Please sign in to comment.