-
deploy infrastructure:
# add ./deployment/docker-compose/.env file to custom your environment docker compose -f ./deployment/docker-compose/infrastructure.yaml up -d
-
service:
go run ./cmd/demo/service/main.go
-
build client:
go build -o client.exe ./cmd/client/main.go
-
run client:
# help ./client.exe help # run grpc client ./client.exe grpc # run tcp client ./client.exe tcp
tips: http client use Postman to connect
localhost:8081
. -
run load test:
- install k6
- run
k6 run ./tests/demo/demo.js
-
proto generate
- install buf
buf generate
GStones/moke-layout
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published