mock-server-go

module
v0.0.0-...-73f42bc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2024 License: Apache-2.0

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

Directories

Path Synopsis
cmd
cli command
cli/cmd
Package cmd has the commands
Package cmd has the commands
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL