Skip to content

Simple and high performance mock server implementation.

License

Notifications You must be signed in to change notification settings

mashiro/mocksrv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mocksrv

Simple and high performance mock server implementation.

Install

go get github.com/mashiro/mocksrv

Usage

Routing

Root only

mocksrv --get "/=200"

Any parameter

mocksrv --get "/:name=200"

Wildcard

mocksrv --get "/*paths=200"

Serving static files

FS

mocksrv --root "/assets:./assets"

File

mocksrv --file "/favicon.ico:./assets/favicon.ico"

About

Simple and high performance mock server implementation.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages