aboutsummaryrefslogtreecommitdiff
path: root/example/http_server.go
diff options
context:
space:
mode:
authorAlexander Kiryukhin <alexander@kiryukhin.su>2019-03-27 02:44:38 +0300
committerAlexander Kiryukhin <alexander@kiryukhin.su>2019-03-27 02:44:38 +0300
commitd45d913c9e0d088f339c007f14d2fcaa7b9c8c74 (patch)
tree486d43d7359b5842f6f34b814764389fa27640d2 /example/http_server.go
parent11a32ca219905f7c42698b55b6af9920626b7b51 (diff)
Flexible run policiesv0.3.0
Options refactoring
Diffstat (limited to 'example/http_server.go')
-rwxr-xr-xexample/http_server.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/http_server.go b/example/http_server.go
index 86255e6..fe1d456 100755
--- a/example/http_server.go
+++ b/example/http_server.go
@@ -12,7 +12,7 @@ import (
)
func main() {
- // New instance with builtin context. Alternative: r, ctx := rutina.OptionContext(ctx)
+ // New instance with builtin context
r := rutina.New(rutina.WithStdLogger())
srv := &http.Server{Addr: ":8080"}