mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-05 20:52:50 +08:00
19 lines
365 B
Go
19 lines
365 B
Go
package localincrementalsink
|
|
|
|
import (
|
|
"github.com/chrislusf/seaweedfs/weed/replication/sink"
|
|
"github.com/chrislusf/seaweedfs/weed/replication/sink/localsink"
|
|
)
|
|
|
|
type LocalIncSink struct {
|
|
localsink.LocalSink
|
|
}
|
|
|
|
func (localincsink *LocalIncSink) GetName() string {
|
|
return "local_incremental"
|
|
}
|
|
|
|
func init() {
|
|
sink.Sinks = append(sink.Sinks, &LocalIncSink{})
|
|
}
|