merliot / dean

Dean

Home Page:https://merliot.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dean

Go Reference Go Report Card

Gopher Thing

Dean is a 100% Go framework. It's currently under develoment.

Dean wraps a Server around a Thing. The Server extends Go's net/http web server. The Thing has a ServeHTTP() handler, subscribed message handlers, and a Run loop.

Dean also works with TinyGo*. You can deploy a Thing on a microcontroller using TinyGo.

Example

There is an example in examples/main.go. To run:

go run examples/main.go

This will start a web server on port :8080. Open a browser to http://localhost:8080.

To run on a microcontroller with TinyGo*:

tinygo flash -monitor -target nano-rp2004 -stack-size 4KB ~/work/dean/example/

This will start a web server on port :8080. Open a browser to http://[IP addr]:8080, where [IP addr] is the microcontroller's IP address.

* requires netdev PRs to TinyGo

About

Dean

https://merliot.io

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 98.1%Language:HTML 1.9%