An open API service indexing awesome lists of open source software.

https://github.com/hslam/handler

Package handler implements HTTP middlewares/handlers for mux .
https://github.com/hslam/handler

go golang handler http mux

Last synced: about 1 year ago
JSON representation

Package handler implements HTTP middlewares/handlers for mux .

Awesome Lists containing this project

README

          

# handler
[![PkgGoDev](https://pkg.go.dev/badge/github.com/hslam/handler)](https://pkg.go.dev/github.com/hslam/handler)
[![LICENSE](https://img.shields.io/github/license/hslam/handler.svg?style=flat-square)](https://github.com/hslam/handler/blob/master/LICENSE)

Package handler implements HTTP middlewares/handlers for [mux](https://github.com/hslam/mux "mux") .

## Features
* [Render](https://github.com/hslam/handler/tree/master/render "render")
* [Gzip/Deflate](https://github.com/hslam/handler/tree/master/compress "compress")
* [Proxy](https://github.com/hslam/handler/tree/master/proxy "proxy")
* [Conncect](https://github.com/hslam/handler/tree/master/connect "connect")
* [Header](https://github.com/hslam/handler/tree/master/header "header")
* [Remote IP](https://github.com/hslam/handler/tree/master/remote "remote")
* [Referer Host](https://github.com/hslam/handler/tree/master/referer "referer")

## Get started

### Install
```
go get github.com/hslam/handler
```
### Import
```
import "github.com/hslam/handler"
```

### License
This package is licensed under a MIT license (Copyright (c) 2019 Meng Huang)

### Author
handler was written by Meng Huang.