Renamed module
This commit is contained in:
parent
ea449fdc81
commit
0e00f870de
8 changed files with 41 additions and 13 deletions
22
README.md
22
README.md
|
@ -1,3 +1,21 @@
|
|||
# aero
|
||||
# server
|
||||
|
||||
High-performance web framework.
|
||||
HTTP server.
|
||||
|
||||
## Installation
|
||||
|
||||
```shell
|
||||
go get git.akyoto.dev/go/server
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
```go
|
||||
s := server.New()
|
||||
|
||||
s.Get("/", func(ctx server.Context) error {
|
||||
return ctx.String("Hello")
|
||||
})
|
||||
|
||||
http.ListenAndServe(":8080", s)
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue