You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
278 B

  1. package localsink
  2. import (
  3. "github.com/chrislusf/seaweedfs/weed/replication/sink"
  4. )
  5. type LocalIncSink struct {
  6. LocalSink
  7. }
  8. func (localincsink *LocalIncSink) GetName() string {
  9. return "local_incremental"
  10. }
  11. func init() {
  12. sink.Sinks = append(sink.Sinks, &LocalIncSink{})
  13. }