1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00

New: ListenVirtual and ListenTo specific configs - server_test fixed

This commit is contained in:
Makis Maropoulos
2016-07-05 15:26:47 +02:00
parent afa5b57dc7
commit d76b73427b
6 changed files with 71 additions and 83 deletions

View File

@@ -50,7 +50,6 @@ func (t *testPluginEx) PreClose(*Framework) {
func ExamplePlugins_Add() {
initDefault()
Plugins.Add(PreListenFunc(func(*Framework) {
fmt.Println("PreListen Func")
}))
@@ -68,7 +67,7 @@ func ExamplePlugins_Add() {
desc := Plugins.GetDescription(myplugin)
fmt.Println(desc)
NoListen()
ListenVirtual()
CloseWithErr()
// Output: