mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-12-02 16:39:16 +08:00
18 lines
278 B
Go
18 lines
278 B
Go
package localsink
|
|
|
|
import (
|
|
"github.com/chrislusf/seaweedfs/weed/replication/sink"
|
|
)
|
|
|
|
type LocalIncSink struct {
|
|
LocalSink
|
|
}
|
|
|
|
func (localincsink *LocalIncSink) GetName() string {
|
|
return "local_incremental"
|
|
}
|
|
|
|
func init() {
|
|
sink.Sinks = append(sink.Sinks, &LocalIncSink{})
|
|
}
|