piano

module
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2024 License: Apache-2.0

README

PIANO

Go Report Card

Piano will respond to you.

piano

PIANO is a simple and lightweight HTTP framework.

Install

go get github.com/B1NARY-GR0UP/piano

Quick Start

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

Blogs

Acknowledgement

Thanks for the IDE license support by JetBrains OpenSource Support.

jb beam

License

PIANO is distributed under the Apache License 2.0. The licenses of third party dependencies of PIANO are explained here.

ECOLOGY

BINARY-WEB-ECO

PIANO is a Subproject of the BINARY WEB ECOLOGY

Directories

Path Synopsis
bin
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL