Commit f9776e2 1 parent 22a3465 commit f9776e2 Copy full SHA for f9776e2
File tree 3 files changed +57
-2
lines changed
3 files changed +57
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Go
2
+
3
+ on :
4
+ create :
5
+ tags :
6
+ - v*
7
+
8
+ jobs :
9
+
10
+ build :
11
+ name : Build
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Check out code into the Go module directory
15
+ uses : actions/checkout@v2
16
+
17
+ - name : Set up Go
18
+ uses : actions/setup-go@v2
19
+ with :
20
+ go-version : 1.16
21
+
22
+ - name : Get dependencies
23
+ run : |
24
+ go get -v -t -d ./...
25
+ if [ -f Gopkg.toml ]; then
26
+ curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
27
+ dep ensure
28
+ fi
29
+
30
+ - name : Run GoReleaser
31
+ uses : goreleaser/goreleaser-action@v2
32
+ with :
33
+ version : latest
34
+ args : release --skip-validate --rm-dist --debug
35
+ env :
36
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Generate the CA certificate and private key.
22
22
cfssl gencert -initca ca-csr.json | cfssljson -bare ca
23
23
```
24
24
25
- Generate a server cert using the CSR provided. You can change hostname as you want the client connect to.
25
+ Generate a server cert using the CSR provided. You can change hostname as you want the client connect to (in this case, ` localhost ` )
26
26
27
27
```
28
28
cfssl gencert \
@@ -80,7 +80,7 @@ Client ---> encryptor (port 10000) -> decryptor (port 10001) -> Server (port 100
80
80
81
81
Like this diagram, represent the real-world use case for this program
82
82
83
- ![ Alt text] ( /screenshot/securedlink.png?raw=true " Successful test ")
83
+ ![ Alt text] ( /screenshot/securedlink.png?raw=true " Secured link ")
84
84
85
85
# Screenshots
86
86
Original file line number Diff line number Diff line change
1
+ builds :
2
+ -
3
+ id : " mtlstcpproxy"
4
+ flags :
5
+ - -v
6
+ ldflags :
7
+ - -s -w -extldflags '-static'
8
+ goarch :
9
+ - amd64
10
+ - 386
11
+ goos :
12
+ - linux
13
+ env :
14
+ - CGO_ENABLED=0
15
+ skip : false
16
+ archives :
17
+ -
18
+ format : binary
19
+ name_template : " {{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
You can’t perform that action at this time.
0 commit comments