github.com/go-playground/lars

lars

Package lars - Library Access/Retrieval System, is a fast radix-tree based, zero allocation, HTTP router for Go.

49

Decision Signals

Health score 49/100, confidence 80/100.

Caution
Maintenance 15
Adoption 38
Security 92
Maturity 52
Developer DX 83
Confidence 80

Install

go get github.com/go-playground/lars

Package Data

updated May 28, 2026
Latest versionv4.0.1+incompatible
Imported by66 packages
Stars0
Forks0
Last activity8 years ago
Latest releaseUnknown
LicenseUnknown
Known vuln records0

API Surface

188 symbols
SymbolKindSynopsis
Context Type type Context interface{ ... }
Context.AcceptedLanguages Method AcceptedLanguages func(lowercase bool) []string
Context.Attachment Method Attachment func(r io.Reader, filename string) (err error)
Context.BaseContext Method BaseContext func() *Ctx
Context.ClientIP Method ClientIP func() (clientIP string)
Context.Context Method Context func() context.Context
Context.Decode Method Decode func(includeFormQueryParams bool, maxMemory int64, v interface{}) (err error)
Context.Get Method Get func(key interface{}) (value interface{}, exists bool)
Context.HandlerName Method HandlerName func() string
Context.Inline Method Inline func(r io.Reader, filename string) (err error)
Context.JSON Method JSON func(int, interface{}) error
Context.JSONBytes Method JSONBytes func(int, []byte) error

Maintained Alternatives

limited recent repository activity

#1 Chi

Package chi is a small, idiomatic and composable router for building HTTP services.

Go HTTP Routers 22.2K stars 17.3K imported-by 100% confidence
97

#2 lura

Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

Go HTTP Routers 6.8K stars 0 imported-by 100% confidence
93

#3 Gorilla Mux

Package mux implements a request router and dispatcher.

Go HTTP Routers 21.8K stars 99.5K imported-by 100% confidence
80

#4 httprouter

Package httprouter is a trie based high performance HTTP request router.

Go HTTP Routers 17.1K stars 27.4K imported-by 100% confidence
80

#5 bunrouter

Golang HTTP router

Go HTTP Routers 781 stars 141 imported-by 95% confidence
78

#6 rux

Package rux is a simple and fast request router for golang HTTP applications.

Go HTTP Routers 0 stars 17 imported-by 80% confidence
62

Similar Packages

Go HTTP Routers

#1 Chi

Package chi is a small, idiomatic and composable router for building HTTP services.

Go HTTP Routers 22.2K stars 17.3K imported-by 100% confidence
97

#2 lura

Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

Go HTTP Routers 6.8K stars 0 imported-by 100% confidence
93

#3 Gorilla Mux

Package mux implements a request router and dispatcher.

Go HTTP Routers 21.8K stars 99.5K imported-by 100% confidence
80

#4 httprouter

Package httprouter is a trie based high performance HTTP request router.

Go HTTP Routers 17.1K stars 27.4K imported-by 100% confidence
80

#5 bunrouter

Golang HTTP router

Go HTTP Routers 781 stars 141 imported-by 95% confidence
78