seaweedfs/weed/replication/sink/localsink/local_incremental_sink.go

18 lines
278 B
Go

package localsink
import (
"github.com/seaweedfs/seaweedfs/weed/replication/sink"
)
type LocalIncSink struct {
LocalSink
}
func (localincsink *LocalIncSink) GetName() string {
return "local_incremental"
}
func init() {
sink.Sinks = append(sink.Sinks, &LocalIncSink{})
}