aboutsummaryrefslogtreecommitdiff
path: root/weed/server/filer_server.go
diff options
context:
space:
mode:
authorJonathan Amsterdam <jba@google.com>2019-03-19 10:10:43 -0400
committerJonathan Amsterdam <jba@google.com>2019-03-20 07:57:58 -0400
commit8db82e2b75eb67bc58a4869cc70fb8c5b2c0b97c (patch)
tree3244727ad476960479357208cc7e38735a06c993 /weed/server/filer_server.go
parent44647a46c0dc82350cc994da0784f3c3936270d6 (diff)
downloadseaweedfs-8db82e2b75eb67bc58a4869cc70fb8c5b2c0b97c.tar.xz
seaweedfs-8db82e2b75eb67bc58a4869cc70fb8c5b2c0b97c.zip
notification: add Go CDK pubsub support
Add the gocdk_pub_sub package, which supports the Go Cloud Development Kit pubsub API. Link in all current providers. Update the notification scaffold.
Diffstat (limited to 'weed/server/filer_server.go')
-rw-r--r--weed/server/filer_server.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/weed/server/filer_server.go b/weed/server/filer_server.go
index 83998a009..43d319398 100644
--- a/weed/server/filer_server.go
+++ b/weed/server/filer_server.go
@@ -1,10 +1,11 @@
package weed_server
import (
- "google.golang.org/grpc"
"net/http"
"os"
+ "google.golang.org/grpc"
+
"github.com/chrislusf/seaweedfs/weed/filer2"
_ "github.com/chrislusf/seaweedfs/weed/filer2/cassandra"
_ "github.com/chrislusf/seaweedfs/weed/filer2/leveldb"
@@ -15,6 +16,7 @@ import (
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/notification"
_ "github.com/chrislusf/seaweedfs/weed/notification/aws_sqs"
+ _ "github.com/chrislusf/seaweedfs/weed/notification/gocdk_pub_sub"
_ "github.com/chrislusf/seaweedfs/weed/notification/google_pub_sub"
_ "github.com/chrislusf/seaweedfs/weed/notification/kafka"
_ "github.com/chrislusf/seaweedfs/weed/notification/log"