Skip to content

Commit

Permalink
fix(example): use apachelog package with new path
Browse files Browse the repository at this point in the history
  • Loading branch information
h2non committed Apr 10, 2016
1 parent a8421a8 commit 856af4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _examples/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package main

import (
"fmt"
"gopkg.in/vinxi/apachelog.v0"
"gopkg.in/vinxi/consul.v0"
"gopkg.in/vinxi/forward.v0"
"gopkg.in/vinxi/log.v0"
"gopkg.in/vinxi/vinxi.v0"
)

Expand All @@ -13,7 +13,7 @@ const port = 3100
func main() {
// Create a new vinxi proxy
vs := vinxi.NewServer(vinxi.ServerOptions{Port: port})
vs.Use(log.Default)
vs.Use(apachelog.Default)

// Create and attach Consul client
vs.Use(consul.New(consul.NewConfig("web", "http://demo.consul.io")))
Expand Down

0 comments on commit 856af4c

Please sign in to comment.