Skip to content

romsnl/httpepe.back

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpepe.back

Go backend part of httpepe project.

Build & Run

Using Taskfile.yml https://taskfile.dev/

Build

❯ task build
task: [build] go build -o bin/httpepe main.go

Run dev

❯ task run-dev
task: [run-dev] go run main.go

Run with binary

❯ task run
task: [build] go build -o bin/httpepe main.go
task: [run] bin/httpepe

API Calls

Query

❯ curl http://127.0.0.1:3000/api/codes | jq

Answer

{
  "data": [
    {
      "id": 100,
      "message": "Continue"
    },
    // truncated
    {
      "id": 599,
      "message": "Network Connect Timeout Error"
    }
  ]
}

About

Backend part of httpepe project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages