Documentation
¶
Index ¶
- type Cache
- func (c *Cache) GetACollectedSubject(k subject.HashHex) *subject.Subject
- func (c *Cache) GetACreatedSubject(k subject.HashHex) *subject.Subject
- func (c *Cache) GetBallotSet(subHashHex subject.HashHex) ballot.Map
- func (c *Cache) GetCollectedSubjects() subject.Map
- func (c *Cache) GetCreatedSubjects() subject.Map
- func (c *Cache) GetIdentitySet(subHashHex subject.HashHex) identity.Set
- func (c *Cache) InsertBallot(subHashHex subject.HashHex, ba *ballot.Ballot)
- func (c *Cache) InsertBallotSet(subHashHex subject.HashHex, ballotMap ballot.Map)
- func (c *Cache) InsertColletedSubject(k subject.HashHex, v *subject.Subject)
- func (c *Cache) InsertCreatedSubject(k subject.HashHex, v *subject.Subject)
- func (c *Cache) InsertIdentity(subHashHex subject.HashHex, id identity.Identity)
- func (c *Cache) InsertIdentitySet(subHashHex subject.HashHex, idSet identity.Set)
- func (c *Cache) IsExistedSubject(sHex subject.HashHex) bool
- type NodeValidator
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache ...
func (*Cache) GetACollectedSubject ¶
GetACollectedSubject ...
func (*Cache) GetACreatedSubject ¶
GetACreatedSubject ...
func (*Cache) GetBallotSet ¶
GetBallotSet .
func (*Cache) GetCollectedSubjects ¶
GetCollectedSubjects .
func (*Cache) GetCreatedSubjects ¶
GetCreatedSubjects .
func (*Cache) GetIdentitySet ¶
func (*Cache) InsertBallot ¶
InsertBallot .
func (*Cache) InsertBallotSet ¶
InsertBallotSet .
func (*Cache) InsertColletedSubject ¶
InsertColletedSubject .
func (*Cache) InsertCreatedSubject ¶
InsertCreatedSubject .
func (*Cache) InsertIdentity ¶
func (*Cache) InsertIdentitySet ¶
type NodeValidator ¶
type NodeValidator struct{}
NodeValidator ...
Click to show internal directories.
Click to hide internal directories.