Skip to content

Commit

Permalink
fixed more micro API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dh1tw committed Jul 13, 2019
1 parent 46f9178 commit 2fa602f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions cmd/client_nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
"github.com/micro/go-micro/client"
"github.com/micro/go-micro/registry"
"github.com/micro/go-micro/transport"
"github.com/micro/go-micro/client/selector/static"
natsBroker "github.com/micro/go-plugins/broker/nats"
natsReg "github.com/micro/go-plugins/registry/nats"
natsTr "github.com/micro/go-plugins/transport/nats" // _ "net/http/pprof"
Expand Down
2 changes: 1 addition & 1 deletion cmd/server_nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ type natsServer struct {
lastPing time.Time
}

func (ns *natsServer) enqueueFromWire(pub broker.Publication) error {
func (ns *natsServer) enqueueFromWire(pub broker.Event) error {
if ns.fromNetwork == nil {
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion trx/trx.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func (x *Trx) TxUser() (string, error) {
// fromWireCb is a callback that is executed when audio is received
// from the network. It will typically then enqueue the received data
// into an audio source / chain.
func (x *Trx) fromWireCb(pub broker.Publication) error {
func (x *Trx) fromWireCb(pub broker.Event) error {
x.RLock()
defer x.RUnlock()

Expand Down

0 comments on commit 2fa602f

Please sign in to comment.