dereulenspiegel / coap-mux

Simple mux vor CoAP servers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

coap-mux Build Status Coverage Status GoDoc

This package provides basic support for routing based on path and method for CoAP server. This library is heavily inspired by mux.

Installation

go get github.com/dereulenspiegel/coap-mux

Usage

Create a new router with NewRouter() and add routes with NewRoute(), Handle(path, handler) or Path(string). The returned route object can be configured further.

About

Simple mux vor CoAP servers


Languages

Language:Go 100.0%