From 46b54b290da2017e20cb4428934e109550d2de2a Mon Sep 17 00:00:00 2001 From: "Denis V. Dedkov" Date: Wed, 27 Jul 2016 22:38:43 +0500 Subject: [PATCH] Documentation for example was added --- examples/noolite-web/noolite-web.go | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/examples/noolite-web/noolite-web.go b/examples/noolite-web/noolite-web.go index ad9ff41..bf59556 100644 --- a/examples/noolite-web/noolite-web.go +++ b/examples/noolite-web/noolite-web.go @@ -1,3 +1,25 @@ +/* +Copyright 2016 Denis V. Dedkov (denis.v.dedkov@gmail.com) + +This file is part of Noolite Go bindings. + +Noolite Go bindings is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +Noolite Go bindings is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with Noolite Go bindings. If not, see . +*/ + +// Example WEB-server for control noolite adapter +// +// Default run on :8080 with static dir /var/www/static package main import (