Top 4.8% dependent repos on proxy.golang.org
Top 3.8% forks on proxy.golang.org
proxy.golang.org : github.com/celrenheit/lion
Package lion is a fast HTTP router for building modern scalable modular REST APIs in Go. Install and update: Getting started: Start by importing "github.com/celrenheit/lion" into your project. Then you need to create a new instance of the router using lion.New() for a blank router or lion.Classic() for a router with default middlewares included. Here is a simple hello world example: You can open your web browser to http://localhost:3000/hello/world and you should see "Hello world". If it finds a PORT environnement variable it will use that. Otherwise, it will use run the server at localhost:3000. If you wish to provide a specific port you can run it using: l.Run(":8080")
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/celrenheit/lion
Keywords:
fast
, golang
, handler
, http
, router
, subdomain
License: MIT
Latest release: over 5 years ago
First release: over 5 years ago
Namespace: github.com/celrenheit
Dependent repositories: 1
Stars: 747 on GitHub
Forks: 37 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 9 days ago