Skip to content

Commit

Permalink
Release project on GitHub 🔥
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-mo committed Feb 1, 2019
1 parent 03b1942 commit 4932677
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 31 deletions.
6 changes: 3 additions & 3 deletions cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (

"github.com/pkg/errors"
"github.com/spf13/viper"
"gitlab.com/0ptr/conntracct/internal/pipeline"
"gitlab.com/0ptr/conntracct/internal/sinks"
"gitlab.com/0ptr/conntracct/internal/sinks/types"
"github.com/ti-mo/conntracct/internal/pipeline"
"github.com/ti-mo/conntracct/internal/sinks"
"github.com/ti-mo/conntracct/internal/sinks/types"
)

var (
Expand Down
10 changes: 5 additions & 5 deletions cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import (

"github.com/pkg/errors"
"github.com/spf13/cobra"
"gitlab.com/0ptr/conntracct/internal/apiserver"
"gitlab.com/0ptr/conntracct/internal/config"
"gitlab.com/0ptr/conntracct/internal/pipeline"
"gitlab.com/0ptr/conntracct/internal/pprof"
"gitlab.com/0ptr/conntracct/internal/sinks/types"
"github.com/ti-mo/conntracct/internal/apiserver"
"github.com/ti-mo/conntracct/internal/config"
"github.com/ti-mo/conntracct/internal/pipeline"
"github.com/ti-mo/conntracct/internal/pprof"
"github.com/ti-mo/conntracct/internal/sinks/types"
)

// runCmd represents the run command
Expand Down
2 changes: 1 addition & 1 deletion internal/apiserver/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
log "github.com/sirupsen/logrus"

"github.com/gorilla/mux"
"gitlab.com/0ptr/conntracct/internal/pipeline"
"github.com/ti-mo/conntracct/internal/pipeline"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package config

import "gitlab.com/0ptr/conntracct/pkg/bpf"
import "github.com/ti-mo/conntracct/pkg/bpf"

// Init sets up the host to make conntracct function correctly.
func Init() error {
Expand Down
2 changes: 1 addition & 1 deletion internal/pipeline/acct.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"

"gitlab.com/0ptr/conntracct/pkg/bpf"
"github.com/ti-mo/conntracct/pkg/bpf"
)

// Init initializes the pipeline. Only runs once, subsequent calls are no-ops.
Expand Down
4 changes: 2 additions & 2 deletions internal/pipeline/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"sync"

log "github.com/sirupsen/logrus"
"gitlab.com/0ptr/conntracct/internal/sinks"
"gitlab.com/0ptr/conntracct/pkg/bpf"
"github.com/ti-mo/conntracct/internal/sinks"
"github.com/ti-mo/conntracct/pkg/bpf"
)

// Pipeline is a structure representing the conntracct
Expand Down
8 changes: 4 additions & 4 deletions internal/sinks/influxdb/influxdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import (

influx "github.com/influxdata/influxdb/client/v2"

"gitlab.com/0ptr/conntracct/internal/sinks/helpers"
"gitlab.com/0ptr/conntracct/internal/sinks/types"
"gitlab.com/0ptr/conntracct/pkg/boottime"
"gitlab.com/0ptr/conntracct/pkg/bpf"
"github.com/ti-mo/conntracct/internal/sinks/helpers"
"github.com/ti-mo/conntracct/internal/sinks/types"
"github.com/ti-mo/conntracct/pkg/boottime"
"github.com/ti-mo/conntracct/pkg/bpf"
)

const (
Expand Down
8 changes: 4 additions & 4 deletions internal/sinks/sink.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package sinks
import (
"fmt"

"gitlab.com/0ptr/conntracct/internal/sinks/influxdb"
"gitlab.com/0ptr/conntracct/internal/sinks/stdout"
"gitlab.com/0ptr/conntracct/internal/sinks/types"
"gitlab.com/0ptr/conntracct/pkg/bpf"
"github.com/ti-mo/conntracct/internal/sinks/influxdb"
"github.com/ti-mo/conntracct/internal/sinks/stdout"
"github.com/ti-mo/conntracct/internal/sinks/types"
"github.com/ti-mo/conntracct/pkg/bpf"
)

// An Sink represents a timeseries database or other store
Expand Down
4 changes: 2 additions & 2 deletions internal/sinks/stdout/stdout.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"bufio"
"os"

"gitlab.com/0ptr/conntracct/internal/sinks/types"
"gitlab.com/0ptr/conntracct/pkg/bpf"
"github.com/ti-mo/conntracct/internal/sinks/types"
"github.com/ti-mo/conntracct/pkg/bpf"
)

// StdOut is an accounting sink writing to standard output/error.
Expand Down
2 changes: 1 addition & 1 deletion magefile-bpf.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/magefile/mage/target"

"github.com/magefile/mage/mg"
"gitlab.com/0ptr/conntracct/pkg/kernel"
"github.com/ti-mo/conntracct/pkg/kernel"
"golang.org/x/sync/errgroup"
)

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
package main

import (
"gitlab.com/0ptr/conntracct/cmd"
"github.com/ti-mo/conntracct/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion pkg/bpf/acct_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/pkg/errors"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gitlab.com/0ptr/conntracct/pkg/udpecho"
"github.com/ti-mo/conntracct/pkg/udpecho"
"golang.org/x/sys/unix"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/bpf/acct_probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync"
"sync/atomic"

"gitlab.com/0ptr/conntracct/pkg/kernel"
"github.com/ti-mo/conntracct/pkg/kernel"

"github.com/iovisor/gobpf/elf"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion pkg/bpf/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

"gitlab.com/0ptr/conntracct/pkg/kallsyms"
"github.com/ti-mo/conntracct/pkg/kallsyms"
"golang.org/x/sys/unix"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/bpf/selector.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

"github.com/blang/semver"
"github.com/rakyll/statik/fs"
"gitlab.com/0ptr/conntracct/pkg/kernel"
"github.com/ti-mo/conntracct/pkg/kernel"
)

// Select returns a bytes.Reader holding the BPF program to be used for
Expand Down
2 changes: 1 addition & 1 deletion pkg/bpf/sysctl.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package bpf

import "gitlab.com/0ptr/conntracct/internal/sysctl"
import "github.com/ti-mo/conntracct/internal/sysctl"

// Sysctls applies a list of sysctls on the machine.
// When verbose is true, logs any changes made to stdout.
Expand Down
2 changes: 1 addition & 1 deletion pkg/kallsyms/kallsyms_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"gitlab.com/0ptr/conntracct/pkg/kallsyms"
"github.com/ti-mo/conntracct/pkg/kallsyms"
)

func TestKallsyms(t *testing.T) {
Expand Down

0 comments on commit 4932677

Please sign in to comment.