mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
19 lines
477 B
Go
19 lines
477 B
Go
package replication
|
|
|
|
import (
|
|
"github.com/chrislusf/seaweedfs/weed/util"
|
|
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
|
|
)
|
|
|
|
type NotificationInput interface {
|
|
// GetName gets the name to locate the configuration in sync.toml file
|
|
GetName() string
|
|
// Initialize initializes the file store
|
|
Initialize(configuration util.Configuration) error
|
|
ReceiveMessage() (key string, message *filer_pb.EventNotification, err error)
|
|
}
|
|
|
|
var (
|
|
NotificationInputs []NotificationInput
|
|
)
|