Skip to content

jabernardo/mocket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MOCKet

A pocket api mocking tool implemented using Go.

Mock API Configuration

hello.yml

name: "hello-world"
port: 3000
endpoints:
  - path: /v1/hello
    method: GET
    status: 200
    delay: 2000
    headers:
      - name: Content-Type
        value: application/json
    body:
      success: true
      data:
        message: "Hello World"

Run

go run github.com/jabernardo/mocket@latest hello.yml

About

A pocket API mocking tool.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages