Files
chron/core/ledger.go

24 lines
567 B
Go

package core
import ()
type Ledger struct {
entryStore EntryStore
referenceStore ReferenceStore
}
func NewLedger(entryStore EntryStore, referenceStore ReferenceStore) (*Ledger, error) {
return &Ledger{
entryStore: entryStore,
referenceStore: referenceStore,
}, nil
}
func (l *Ledger) Append() {}
func (l *Ledger) AppendToReference() {}
func (l *Ledger) Get() {}
func (l *Ledger) GetFromReference() {}
func (l *Ledger) SetHead() {}
func (l *Ledger) SetReference() {}
func (l *Ledger) RemoveReference() {}