mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-07 21:47:02 +09:00
16 lines
279 B
Go
16 lines
279 B
Go
package nodeconf
|
|
|
|
import (
|
|
"context"
|
|
"errors"
|
|
)
|
|
|
|
const CNameSource = "common.nodeconf.source"
|
|
|
|
var (
|
|
ErrConfigurationNotChanged = errors.New("configuration not changed")
|
|
)
|
|
|
|
type Source interface {
|
|
GetLast(ctx context.Context, currentId string) (c Configuration, err error)
|
|
}
|