Versions in this module Expand all Collapse all v1 v1.0.0 Jan 9, 2019 Changes in this version + const AuthVoteActionAuthorize + const AuthVoteActionRevoke + const HcashOrgPluginIdentity + const HcashOrgPluginJournals + const LockDuration + const PluginPostHookEdit + var ErrBusy = fmt.Errorf("busy") + var ErrNotFound = fmt.Errorf("not found") + var ErrSameFile = fmt.Errorf("source same as destination") + var HcashOrgPluginCommentsCache = make(map[string]map[string]HcashOrgplugin.Comment) + var HcashOrgPluginCommentsLikesCache = make(map[string][]HcashOrgplugin.LikeComment) + var HcashOrgPluginHooks map[string]func(string) error + var HcashOrgPluginSettings map[string]string + var HcashOrgPluginVoteCache = make(map[string]*HcashOrgplugin.StartVote) + var HcashOrgPluginVotesCache = make(map[string]map[string]struct{}) + func DisableLog() + func New(anp *chaincfg.Params, root string, hctimeHost string, gitPath string, ...) (*gitBackEnd, error) + func UseLogger(logger slog.Logger) + type Anchor struct + Digests [][]byte + Messages []string + Time int64 + Type AnchorType + type AnchorType uint32 + const AnchorInvalid + const AnchorUnverified + const AnchorVerified + type CastVoteJournal struct + CastVote HcashOrgplugin.CastVote + Receipt string + type FlushRecord struct + Timestamp string + Version string + type GitCommit struct + Error error + Hash string + Message []string + Time int64 + type Journal struct + func NewJournal() *Journal + func (j *Journal) Close(filename string) error + func (j *Journal) Copy(source, destination string) (err error) + func (j *Journal) Journal(filename, content string) error + func (j *Journal) Open(filename string) error + func (j *Journal) Replay(filename string, replay func(string) error) error + type JournalAction struct + Action string + Version string + type LastAnchor struct + Last []byte + Merkle []byte + Time int64 + type UnconfirmedAnchor struct + Merkles [][]byte