Documentation ¶
Index ¶
- func AdvancedUnInterlaceURI(rv []string, frontD []string, backD []string) []string
- func ExistsDChain(hash []byte) bool
- func ExistsDOT(hash []byte) bool
- func ExistsEntity(vk []byte) bool
- func GetDChain(hash []byte) (*objects.DChain, bool)
- func GetDOT(hash []byte) (*objects.DOT, bool)
- func GetEntity(vk []byte) (*objects.Entity, bool)
- func GetExactMessage(topic string) ([]byte, bool)
- func GetMatchingMessage(uri string, handle chan SM)
- func Initialize(dbname string)
- func InterlaceURI(uri []string) []string
- func IsDummy(value []byte) bool
- func ListChildren(uri string, handle chan string)
- func PutDChain(v *objects.DChain)
- func PutDOT(v *objects.DOT)
- func PutEntity(v *objects.Entity)
- func PutMessage(topic string, payload []byte)
- func UnInterlaceURI(rv []string) []string
- type SM
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdvancedUnInterlaceURI ¶
Given an interlaced string and some _remaining_ *D. Construct the uninterlaced string
func ExistsDChain ¶
func ExistsEntity ¶
func GetExactMessage ¶
func GetMatchingMessage ¶
func Initialize ¶
func Initialize(dbname string)
func InterlaceURI ¶
func ListChildren ¶
func PutDChain ¶
StoreDChain puts a DChain into the DB. This must be an elaborated DChain, otherwise it panics (no point in storing a standard dchain)
func PutMessage ¶
a/b/c/d a/d/b/c PutMessage inserts a message into the database. Note that the topic must be well formed and complete (no wildcards etc)
func UnInterlaceURI ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.