Files
oc-discovery/daemons/node/common/interface.go

12 lines
187 B
Go
Raw Permalink Normal View History

2026-01-30 16:57:36 +01:00
package common
import (
"context"
"cloud.o-forge.io/core/oc-lib/models/peer"
)
type DiscoveryPeer interface {
2026-02-04 11:35:19 +01:00
GetPeerRecord(ctx context.Context, key string) ([]*peer.Peer, error)
2026-01-30 16:57:36 +01:00
}