PIANO is a simple and lightweight HTTP framework.
go get github.com/B1NARY-GR0UP/piano
package main
import (
"context"
"github.com/B1NARY-GR0UP/piano/core"
"github.com/B1NARY-GR0UP/piano/core/bin"
"github.com/B1NARY-GR0UP/piano/pkg/consts"
)
func main() {
p := bin.Default()
p.GET("/hello", func(ctx context.Context, pk *core.PianoKey) {
pk.String(consts.StatusOK, "piano")
})
p.Play()
}
Refer to piano-examples for more information.
- PIANO-EXAMPLES | Examples for PIANO |
examples
- DREAMEMO | A distributed cache with out-of-the-box, high-scalability, modular-design features. |
golang
cache
distributed
Thanks for the IDE license support by JetBrains OpenSource Support.
PIANO is distributed under the Apache License 2.0. The licenses of third party dependencies of PIANO are explained here.
PIANO is a Subproject of the BINARY WEB ECOLOGY