Skip to content

Commit

Permalink
Update interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
d-lowl committed Oct 20, 2021
1 parent d19fc8c commit 61e7e1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
log "github.com/sirupsen/logrus"
"google.golang.org/protobuf/encoding/protojson"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/reflect/protoreflect"
"io"
)

Expand Down Expand Up @@ -57,7 +56,7 @@ func (p PubSubClient) Topic(id string) IPubSubTopic {
}

type IPubSub interface {
PublishMessage(topicID string, submission protoreflect.ProtoMessage) error
PublishMessage(topicID string, submission proto.Message) error
DecodePushMessage(body io.ReadCloser) (*PushMessage, error)
DecodeData(body io.ReadCloser) ([]byte, error)
}
Expand Down

0 comments on commit 61e7e1a

Please sign in to comment.