All Projects → gotschmarcel → Goserv

gotschmarcel / Goserv

Licence: bsd-3-clause
A lightweight toolkit for web applications in Go

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Labels

Projects that are alternatives of or similar to Goserv

Igropyr
a async http server base on libuv for Chez Scheme
Stars: ✭ 85 (-35.61%)
Mutual labels:  webserver
Docker
Directus Docker — The Official Docker Container for the Directus Suite
Stars: ✭ 93 (-29.55%)
Mutual labels:  webserver
Php Server
Start a PHP server
Stars: ✭ 119 (-9.85%)
Mutual labels:  webserver
Froxlor
The server administration software for your needs - The official Froxlor development Git repository
Stars: ✭ 1,279 (+868.94%)
Mutual labels:  webserver
Ytdl Webserver
📻 Webserver for downloading youtube videos. Ready for docker.
Stars: ✭ 1,309 (+891.67%)
Mutual labels:  webserver
Facil.io
Your high performance web application C framework
Stars: ✭ 1,393 (+955.3%)
Mutual labels:  webserver
Jennet
A simple HTTP web framework written in Pony
Stars: ✭ 72 (-45.45%)
Mutual labels:  webserver
Servez
A simple web server for local web development.
Stars: ✭ 124 (-6.06%)
Mutual labels:  webserver
Evennia
Python MUD/MUX/MUSH/MU* development system
Stars: ✭ 1,309 (+891.67%)
Mutual labels:  webserver
Ansible Role Haproxy
Ansible Role - HAProxy
Stars: ✭ 112 (-15.15%)
Mutual labels:  webserver
Webserver
手写简化版Web服务器
Stars: ✭ 89 (-32.58%)
Mutual labels:  webserver
Diceparser
Powerful dice Roller is used as discord bot, irc bot, cli tool and inside Rolisteam : 1d20+4, 1L[head,arm,leg,belly,chest], 1d6+1d8, 8+5*3
Stars: ✭ 90 (-31.82%)
Mutual labels:  webserver
Ipfscloud Web
IpfsCloud: A Decentralized, Anonymous Cloud Storage web client on IPFS.
Stars: ✭ 105 (-20.45%)
Mutual labels:  webserver
Pric
Simple zero-config tool to create Private Certificate Authority & issue locally-trusted development server certificates with any domain names you'd like. SSL certificates for development purposes.
Stars: ✭ 87 (-34.09%)
Mutual labels:  webserver
Microdot
The impossibly small web framework for MicroPython
Stars: ✭ 121 (-8.33%)
Mutual labels:  webserver
Suave
Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition.
Stars: ✭ 1,196 (+806.06%)
Mutual labels:  webserver
Twig
Twig - less is more's web server for golang
Stars: ✭ 98 (-25.76%)
Mutual labels:  webserver
Agoo C
Agoo webserver in C.
Stars: ✭ 125 (-5.3%)
Mutual labels:  webserver
Lophttpd
lots of performance (or lots of porn, if you prefer) httpd: Easy, chrooted, fast and simple to use HTTP server for static content. Runs on Linux, BSD, Android and OSX/Darwin. It's free but if you like it, consider donating to the EFF: https://supporters.eff.org/donate
Stars: ✭ 123 (-6.82%)
Mutual labels:  webserver
Restup
Webserver for universal windows platform (UWP) apps
Stars: ✭ 112 (-15.15%)
Mutual labels:  webserver

goserv

GoServ

A fast, easy and minimalistic framework for web applications in Go.

goserv requires at least Go v1.6.0

GoDoc Build Status

package main

import (
	"github.com/gotschmarcel/goserv"
	"net/http"
	"log"
)

func main() {
	server := goserv.NewServer()
	server.Get("/", func (w http.ResponseWriter, r *http.Request) {
		goserv.WriteString(w, "Welcome Home")
	}
	log.Fatalln(server.Listen(":12345"))
}

Installation

$ go get github.com/gotschmarcel/goserv

Features

  • Fully compatible with net/http
  • Robust and fast routing
  • Middleware handlers
  • Nested routers
  • Request context
  • URL parameters
  • Response and request helpers
  • Centralized error handling

Examples

Examples can be found in example_test.go

License

BSD licensed. See the LICENSE file for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].