1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-07 21:47:02 +09:00
any-sync/nodeconf/source.go
AnastasiaShemyakinskaya 28797c631a
GO-3921: refactored code
Signed-off-by: AnastasiaShemyakinskaya <shem98a@mail.ru>
2024-08-22 16:50:14 +02:00

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)
}