Skip to content

BouncyElf/ctx

Repository files navigation

CTX

🏝A Go web framework.

Feature

  • Singleton.
  • Centralized error handling.
  • Centralized panic recover & handling.
  • Gracefully shutdown.

Install

$ go get -u -v github.com/BouncyElf/ctx

Example

package main

import "github.com/BouncyElf/ctx"

func main() {
	ctx.GET("/", func(c *ctx.Context) error {
		return c.String("hello, world")
	})
	ctx.Run()
}

Doc

Doc Here

Releases

No releases published

Packages

No packages published

Languages