This is a plugin which is working but not finished.
Which gives access to your iris server's information via a web interface.
You need internet connection the first time you will run this plugin, because the assets don't exists to this repository but here. The plugin will install these for you at the first run.
How to use
iriscontrol.Web(port int, authenticatedUsers map[string]string) iris.IPlugin
Example
package main
import (
"github.com/kataras/iris"
"github.com/kataras/iris/plugin/iriscontrol"
)
func main() {
iris.Plugins().Add(iriscontrol.Web(9090, map[string]string{
"irisusername1": "irispassword1",
"irisusername2": "irispassowrd2",
}))
//or
// import "github.com/kataras/iris/config"
// ....
// iriscontrol.New(config.IrisControl{...})
iris.Get("/", func(ctx *iris.Context) {
})
iris.Post("/something", func(ctx *iris.Context) {
})
iris.Listen(":8080")
}