Documentation ¶
Index ¶
- Constants
- func Append(link chain.Link) (*chain.Lead, *errors.Error)
- func Care(link chain.CreationLink) (bool, *errors.Error)
- func DB() *bolt.DB
- func Genesis(link chain.CreationLink) *errors.Error
- func InitIfNeeded(path string) *errors.Error
- func InjectSeekerFactory(sf SeekerFactory)
- func StoreGet[T any](bucket *bolt.Bucket, key []byte) (*T, error)
- func StorePut(bucket *bolt.Bucket, key []byte, obj interface{}) error
- type Line
- type Node
- type NodePack
- type Seeker
- type SeekerFactory
Constants ¶
View Source
const HEAD int64 = 0
View Source
const HeadKP = "H"
View Source
const HeadNodePre chain.Cid = "LING"
View Source
const TailKP = "T"
Variables ¶
This section is empty.
Functions ¶
func InitIfNeeded ¶
func InjectSeekerFactory ¶
func InjectSeekerFactory(sf SeekerFactory)
Types ¶
type Node ¶
type NodePack ¶
func NewNodePack ¶
type SeekerFactory ¶
func GetSeekerFactory ¶
func GetSeekerFactory() SeekerFactory
Click to show internal directories.
Click to hide internal directories.