Popularity
2.6
Growing
Activity
5.0
Declining
35
2
6
Programming language: Go
License: MIT License
Tags:
Web Frameworks
Latest version: v0.13.0
goweb alternatives and similar packages
Based on the "Web Frameworks" category.
Alternatively, view goweb alternatives based on common mentions on social networks and blogs.
-
Gin
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin. -
Gorilla WebSocket
A fast, well-tested and widely used WebSocket implementation for Go. -
Iris
The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket: -
go-kratos
Your ultimate Go microservices framework for the cloud-native era. -
GoFrame
GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang. -
go-socket.io
socket.io library for golang, a realtime application framework. -
Macaron
Package macaron is a high productive and modular web framework in Go. -
Hertz
Go HTTP framework with high-performance and strong-extensibility for building micro-services. -
Faygo
Faygo is a fast and concise Go Web framework that can be used to develop high-performance web app(especially API) with fewer codes. Just define a struct handler, faygo will automatically bind/verify the request parameters and generate the online API doc. -
render
Go package for easily rendering JSON, XML, binary data, and HTML templates responses. -
pat
Sinatra style pattern muxer for Go’s net/http library, by the author of Sinatra. -
Atreugo
High performance and extensible micro web framework. Zero memory allocations in hot paths. -
tigertonic
A Go framework for building JSON web services inspired by Dropwizard -
Goji
Goji is a minimalistic and flexible HTTP request multiplexer for Go (golang) -
fasthttprouter
A high performance fasthttp request router that scales well -
Beego
beego is an open-source, high-performance web framework for the Go programming language. -
go-server-timing
Go (golang) library for creating and consuming HTTP Server-Timing headers -
Gearbox
Gearbox :gear: is a web framework written in Go with a focus on high performance -
golongpoll
golang long polling library. Makes web pub-sub easy via HTTP long-poll servers and clients :smiley: :coffee: :computer:
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Promo
www.influxdata.com
Do you think we are missing an alternative of goweb or a related project?
Popular Comparisons
README
Goweb
Light weight web framework based on net/http.
Includes
- routing
- middleware
- logging
Goweb aims to
- rely only on the standard library as much as possible
- be flexible
- perform well
Usage
See examples.
Basic usage
package main
import (
"github.com/twharmon/goweb"
)
func main() {
app := goweb.New()
app.GET("/hello/{name}", hello)
app.Run(":8080")
}
func hello(c *goweb.Context) goweb.Responder {
return c.JSON(goweb.Map{
"hello": c.Param("name"),
})
}
Easily extendable
See serving files, template rendering, and tls for examples.
Documentation
For full documentation see pkg.go.dev.
Benchmarks
BenchmarkGinPlaintext 780 ns/op 1040 B/op 9 allocs/op
BenchmarkEchoPlaintext 817 ns/op 1024 B/op 10 allocs/op
BenchmarkGowebPlaintext 1241 ns/op 1456 B/op 16 allocs/op
BenchmarkGorillaPlaintext 1916 ns/op 2032 B/op 19 allocs/op
BenchmarkMartiniPlaintext 14448 ns/op 1779 B/op 36 allocs/op
BenchmarkGowebJSON 60042 ns/op 50798 B/op 15 allocs/op
BenchmarkGorillaJSON 61086 ns/op 51330 B/op 18 allocs/op
BenchmarkEchoJSON 61115 ns/op 50280 B/op 10 allocs/op
BenchmarkGinJSON 68322 ns/op 100116 B/op 10 allocs/op
BenchmarkMartiniJSON 96365 ns/op 144335 B/op 38 allocs/op
BenchmarkGinPathParams 2464 ns/op 1952 B/op 27 allocs/op
BenchmarkEchoPathParams 2600 ns/op 1968 B/op 27 allocs/op
BenchmarkGowebPathParams 3591 ns/op 2673 B/op 35 allocs/op
BenchmarkGorillaPathParams 4220 ns/op 3265 B/op 36 allocs/op
BenchmarkMartiniPathParams 15211 ns/op 2657 B/op 45 allocs/op
Contribute
Create a pull request to contribute to Goweb.