Documentation ¶
Index ¶
- type Checkpoint
- type Leaf
- type ViewModel
- func (m *ViewModel) GetCheckpoint() *Checkpoint
- func (m *ViewModel) GetError() error
- func (m *ViewModel) GetLeaf() Leaf
- func (m *ViewModel) GetLogOrigins() []string
- func (m *ViewModel) GetWitnessN() uint
- func (m *ViewModel) GetWitnessed() *Checkpoint
- func (m *ViewModel) SetCheckpoint(cp *Checkpoint, witnessedCP *Checkpoint, err error)
- func (m *ViewModel) SetLeaf(leaf Leaf, err error)
- func (m *ViewModel) SetWitnessN(n uint)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkpoint ¶
type Checkpoint struct { *log.Checkpoint Note *note.Note Raw []byte }
type ViewModel ¶
type ViewModel struct { Dirty chan bool // contains filtered or unexported fields }
func NewViewModel ¶
func (*ViewModel) GetCheckpoint ¶
func (m *ViewModel) GetCheckpoint() *Checkpoint
func (*ViewModel) GetLogOrigins ¶
func (*ViewModel) GetWitnessN ¶
func (*ViewModel) GetWitnessed ¶
func (m *ViewModel) GetWitnessed() *Checkpoint
func (*ViewModel) SetCheckpoint ¶
func (m *ViewModel) SetCheckpoint(cp *Checkpoint, witnessedCP *Checkpoint, err error)
func (*ViewModel) SetWitnessN ¶
Click to show internal directories.
Click to hide internal directories.