Documentation ¶ Index ¶ type SvSync func NewSvSync(engine ndn.Engine, groupPrefix enc.Name, onUpdate func(SvSyncUpdate)) *SvSync func (s *SvSync) GetSeqNo(nodeId enc.Name) uint64 func (s *SvSync) IncrSeqNo(nodeId enc.Name) uint64 func (s *SvSync) SetSeqNo(nodeId enc.Name, seqNo uint64) error func (s *SvSync) Start() (err error) func (s *SvSync) Stop() type SvSyncUpdate Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type SvSync ¶ type SvSync struct { // contains filtered or unexported fields } func NewSvSync ¶ func NewSvSync( engine ndn.Engine, groupPrefix enc.Name, onUpdate func(SvSyncUpdate), ) *SvSync func (*SvSync) GetSeqNo ¶ func (s *SvSync) GetSeqNo(nodeId enc.Name) uint64 func (*SvSync) IncrSeqNo ¶ func (s *SvSync) IncrSeqNo(nodeId enc.Name) uint64 func (*SvSync) SetSeqNo ¶ func (s *SvSync) SetSeqNo(nodeId enc.Name, seqNo uint64) error func (*SvSync) Start ¶ func (s *SvSync) Start() (err error) func (*SvSync) Stop ¶ func (s *SvSync) Stop() type SvSyncUpdate ¶ type SvSyncUpdate struct { NodeId enc.Name High uint64 Low uint64 } Source Files ¶ View all Source files svs.go Click to show internal directories. Click to hide internal directories.