Documentation ¶
Overview ¶
Prepare HTTP server for serving web control panel application.
tiedot uses go.rice package for serving static web content, therefore you will need both git and mercurial (due to go.rice dependency) in order to build tiedot.
If you wish to embed web content into your program, please download go.rice and run `rice embed-go` in "webcp" directory and use the generated Go source code in your project.
To completely remove all external project dependencies, you must remove the web control panel application entirely. If you wish to do so, please follow these steps: - Delete "webcp" directory (including this file) - Remove call to "webcp.RegisterWebCp" in httpapi/srv.go
You can read more about go.rice here: https://github.com/GeertJohan/go.rice
Index ¶
Constants ¶
This section is empty.
Variables ¶
var WebCp string
Functions ¶
func RegisterWebCp ¶
func RegisterWebCp()
Types ¶
This section is empty.