Skip to content

Commit

Permalink
Migrate to Angarium's Kamailio BINRPC library
Browse files Browse the repository at this point in the history
  • Loading branch information
yvigara committed Feb 7, 2024
1 parent d3d0e9b commit 755562b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion collector/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ import (
"sync"
"time"

binrpc "github.com/florentchauveau/go-kamailio-binrpc/v3"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus"
"go.angarium.io/kamailio/binrpc"
)

// Exporter namespace.
Expand Down
2 changes: 1 addition & 1 deletion collector/dispatcher_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ import (
"strconv"
"strings"

binrpc "github.com/florentchauveau/go-kamailio-binrpc/v3"
"github.com/go-kit/log"
"github.com/go-kit/log/level"
"github.com/prometheus/client_golang/prometheus"
"go.angarium.io/kamailio/binrpc"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ go 1.21

require (
github.com/alecthomas/kingpin/v2 v2.4.0
github.com/florentchauveau/go-kamailio-binrpc/v3 v3.2.0
github.com/go-kit/log v0.2.1
github.com/prometheus/client_golang v1.18.0
github.com/prometheus/client_model v0.5.0
github.com/prometheus/common v0.46.0
github.com/prometheus/exporter-toolkit v0.11.0
go.angarium.io/kamailio v0.1.0
)

require (
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSV
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/florentchauveau/go-kamailio-binrpc/v3 v3.2.0 h1:0IR+Ck/QKC9aIarfNVQdKzDZwF7OP8ekFM8M7ZHb6UY=
github.com/florentchauveau/go-kamailio-binrpc/v3 v3.2.0/go.mod h1:6g5QZzU9yUJao66NQsR2G7Jbo5MU2s/GZWRbqx6lgNc=
github.com/go-kit/log v0.2.1 h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU=
github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0=
github.com/go-logfmt/logfmt v0.6.0 h1:wGYYu3uicYdqXVgoYbvnkrPVXkuLM1p1ifugDMEdRi4=
Expand Down Expand Up @@ -54,6 +52,8 @@ github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o
github.com/xhit/go-str2duration/v2 v2.1.0 h1:lxklc02Drh6ynqX+DdPyp5pCKLUQpRT8bp8Ydu2Bstc=
github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
go.angarium.io/kamailio v0.1.0 h1:FM2ZQT81A/S9thAWIGO78NBbVSdXam23s6RNRzdEorg=
go.angarium.io/kamailio v0.1.0/go.mod h1:7bFmmLHjGhZz6amhTm2buAAt+huOkOOMY+KfNeeuFAk=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc=
Expand Down

0 comments on commit 755562b

Please sign in to comment.