Skip to content

clouddea/koa-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

A Koa implementation in Go Language. Inspired by its middleware mechanism, I designed overall framework purely by Go.

Environment

OS: Win11 x64 Go: 1.21+

Build Example

I'm lazy, how to use please see the sample code.

Take example/serve for example:

go build -o build/serve.exe github.com/clouddea/koa-go/example/serve
./build/serve --help
./build/serve

TODOs

  • finish implementation of Context API
  • finish implementation of Config API
  • finish implementation of Request API
  • finish implementation of Response API
  • finish implementation of other APIs

Reference

benchmark

77492.47 request/s in writing "hello world"

go install github.com/tsliwowicz/go-wrk@latest
go-wrk -help
go-wrk -c 128 -d 10 http://localhost:8080/test  # amd 7840h laptop

About

An implementation of Koa in Go language.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages