File tree Expand file tree Collapse file tree 4 files changed +8
-12
lines changed Expand file tree Collapse file tree 4 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 1
- # This is an example goreleaser.yaml file with some sane defaults.
2
- # Make sure to check the documentation at http://goreleaser.com
3
1
before :
4
2
hooks :
5
- # you may remove this if you don't use vgo
6
3
- go mod tidy
7
- # you may remove this if you don't need go generate
8
- - go generate ./...
9
4
builds :
10
5
- env :
11
6
- CGO_ENABLED=0
7
+ goos :
8
+ - linux
9
+ main : ./cmd/grpcdump/main.go
10
+
12
11
archives :
13
12
- replacements :
14
- darwin : Darwin
15
13
linux : Linux
16
- windows : Windows
17
14
386 : i386
18
15
amd64 : x86_64
19
16
checksum :
Original file line number Diff line number Diff line change 12
12
13
13
.PHONY : build
14
14
build :
15
- CGO_ENABLED=0 go build .
15
+ CGO_ENABLED=0 go build cmd/grpcdump/main.go
16
16
17
17
.PHONY : release
18
18
release :
Original file line number Diff line number Diff line change @@ -4,13 +4,12 @@ Tool for capture and parse GRPC messages from ethernet traffic
4
4
## Installation / Getting started
5
5
6
6
``` bash
7
- go run cmd/grpcdump.go
7
+ go run cmd/grpcdump/main .go
8
8
```
9
9
### From Source
10
10
11
11
``` bash
12
- go get github.com/rmedvedev/grpcdump
13
- go install github.com/rmedvedev/grpcdump
12
+ go get -u github.com/rmedvedev/grpcdump/...
14
13
```
15
14
16
15
## Usage
@@ -19,7 +18,7 @@ The next option explains usage doc
19
18
``` bash
20
19
grpcdump -help
21
20
```
22
- For example, to capture grpc traffic and parse grpc request and response you need to use this command:
21
+ For example, to capture grpc traffic, parse grpc request and response you need to use this command:
23
22
``` bash
24
23
grpcdump -i lo -p 50051 -proto-path ./grpc/protofiles -proto-files helloworld.proto
25
24
```
File renamed without changes.
You can’t perform that action at this time.
0 commit comments