Skip to content

Commit

Permalink
Rename clients traffic middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
Waldz committed May 15, 2017
1 parent 92c2022 commit dbd472b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package bytescount
package bytescount_client

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package bytescount
package bytescount_client

import (
"errors"
Expand Down
4 changes: 2 additions & 2 deletions cmd/mysterium_client/command_run/command.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package command_run

import (
"github.com/mysterium/node/bytescount"
"github.com/mysterium/node/bytescount_client"
"github.com/mysterium/node/openvpn"
"github.com/mysterium/node/server"
"io"
Expand Down Expand Up @@ -33,7 +33,7 @@ func (cmd *commandRun) Run(options CommandOptions) error {
cmd.vpnClient = openvpn.NewClient(
vpnConfig,
options.DirectoryRuntime,
bytescount.NewMiddleware(cmd.mysteriumClient, vpnSession.Id, 1*time.Minute),
bytescount_client.NewMiddleware(cmd.mysteriumClient, vpnSession.Id, 1*time.Minute),
)
if err := cmd.vpnClient.Start(); err != nil {
return err
Expand Down

0 comments on commit dbd472b

Please sign in to comment.