upgrade protoc to 3.17.3
$brew install protobuf $ protoc --version libprotoc 3.17.3 $ go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.26 $ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.1
This commit is contained in:
@@ -2,6 +2,7 @@ package broker
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/chrislusf/seaweedfs/weed/pb/messaging_pb"
|
||||
"time"
|
||||
|
||||
"google.golang.org/grpc"
|
||||
@@ -22,6 +23,7 @@ type MessageBrokerOption struct {
|
||||
}
|
||||
|
||||
type MessageBroker struct {
|
||||
messaging_pb.UnimplementedSeaweedMessagingServer
|
||||
option *MessageBrokerOption
|
||||
grpcDialOption grpc.DialOption
|
||||
topicManager *TopicManager
|
||||
|
||||
Reference in New Issue
Block a user