Categorygithub.com/Eldius/mock-server-go
module
0.0.0-20240531205632-73f42bc3edd7
Repository: https://github.com/eldius/mock-server-go.git
Documentation: pkg.go.dev

# README

mock-server-go

build status

Go

dev snippets

Start server

go run main.go start mapper/samples/example_mapping_file.yml

curl #1

curl -i localhost:8080/v1/contract

curl #2

curl -i -XPOST http://localhost:8080/v1/contract -d '{"id": "123", "name": "test"}'
# benchmarking app on a Raspberry Pi 4 K3s cluster
wrk -c 20 -d 10m -H 'HeaderKey: HeaderValue' -H 'Cache-Control: no-cache' --timeout 3s -t 10 http://192.168.100.195:18080/v1/contract

links

# Packages

No description provided by the author