Skip to content

Commit

Permalink
refactor to use channel on transmission.Done()
Browse files Browse the repository at this point in the history
Additionally some dependencies were changed.
This includes the battleye protocol which was upgraded to v2
  • Loading branch information
Kevin Wiesmüller committed May 19, 2018
1 parent 79ef637 commit b1cb0d1
Show file tree
Hide file tree
Showing 14 changed files with 136 additions and 360 deletions.
85 changes: 19 additions & 66 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
branch = "master"
name = "github.com/kolide/kit"

[[constraint]]
branch = "master"
name = "github.com/playnet-public/libs"

[[constraint]]
name = "go.uber.org/zap"
version = "1.8.0"
Expand Down
16 changes: 8 additions & 8 deletions cmd/gorcon/gorcon.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Copyright 2018 The K8s-Ingress Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Copyright 2018 The GoRcon Authors and 'play-net.org' owners. All rights reserved.
// Use of this source code is governed by a license
// that can be found in the LICENSE file.

package main

Expand All @@ -10,7 +10,7 @@ import (
"runtime"

"github.com/kolide/kit/version"
"github.com/playnet-public/libs/log"
context "github.com/seibert-media/golibs/log"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
)
Expand Down Expand Up @@ -49,9 +49,9 @@ func main() {
}
}

log := log.New(appKey, *sentryDsn, *dbg).WithFields(zapFields...)
defer log.Sync()
log.Info("preparing")
ctx := context.New(*sentryDsn, *dbg).WithFields(zapFields...)
defer ctx.Sync()
ctx.Info("preparing")

log.Info("finished")
ctx.Info("finished")
}
Loading

0 comments on commit b1cb0d1

Please sign in to comment.