mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 12:31:58 +00:00
a bit linting and some tests are online again
Former-commit-id: bd5463a169a36b078dba1c1b6e7dd3ffbd627617
This commit is contained in:
@@ -10,6 +10,10 @@ import (
|
||||
"runtime"
|
||||
)
|
||||
|
||||
// WriteBannerTask is a task which accepts a logger(io.Writer)
|
||||
// and a "banner" text to write to following
|
||||
// by a generated message based on the host supervisor's server and writes it to the "w".
|
||||
// This task runs on serve.
|
||||
func WriteBannerTask(w io.Writer, banner string) TaskRunnerFunc {
|
||||
return func(proc TaskProcess) {
|
||||
listeningURI := proc.Host().HostURL()
|
||||
|
||||
Reference in New Issue
Block a user