Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 3.0% on proxy.golang.org
Top 3.7% dependent packages on proxy.golang.org
Top 2.1% dependent repos on proxy.golang.org
Top 3.8% forks on proxy.golang.org

proxy.golang.org : gopkg.in/celrenheit/lion.v1

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/gopkg.in/celrenheit/lion.v1
Keywords: fast, golang, handler, http, router, subdomain
License: MIT
Latest release: over 7 years ago
First release: over 7 years ago
Namespace: gopkg.in/celrenheit
Dependent packages: 2
Dependent repositories: 6
Stars: 747 on GitHub
Forks: 37 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 1 day ago

    Loading...
    Readme
    Loading...