Documentation ¶
Overview ¶
Package services implements the common function for all the ccfs services
Index ¶
- Variables
- func DeRegisterblobgeter(service blobgeter)
- func DeRegisterblobposter(service blobposter)
- func DeRegistercommand(service commander)
- func DeRegistercommitgeter(service commitgeter)
- func DeRegistercommitposter(service commitposter)
- func DeRegisterkeygeter(service keygeter)
- func DeRegisterkeyposter(service keyposter)
- func DeRegisterrunner(service runner)
- func DeRegistertaggeter(service taggeter)
- func DeRegistertagposter(service tagposter)
- func DeRegistertagsgeter(service tagsgeter)
- func Get(objecthash objects.HID, path string) (b objects.Blob, err error)
- func GetBlob(h objects.HCID) (objects.Blob, error)
- func GetCommit(h objects.HKID) (objects.Commit, error)
- func GetCommitForHcid(hash objects.HCID) (commit objects.Commit, err error)
- func GetD(objecthash objects.HID, path string) (b objects.Blob, err error)
- func GetKey(h objects.HKID) (*objects.PrivateKey, error)
- func GetList(objectHash objects.HCID) (l objects.List, err error)
- func GetPrivateKeyForHkid(hkid objects.HKID) (k *objects.PrivateKey, err error)
- func GetPublicKeyForHkid(hkid objects.HKID) objects.PublicKey
- func GetTag(h objects.HKID, namesegment string) (objects.Tag, error)
- func GetTagForHcid(hash objects.HCID) (tag objects.Tag, err error)
- func GetTags(h objects.HKID) (tags []objects.Tag, err error)
- func InitDomain(h objects.HKID, path string) error
- func InitRepo(h objects.HKID, path string) error
- func InsertDomain(h objects.HKID, path string, foreignHkid objects.HKID) error
- func InsertRepo(h objects.HKID, path string, foreignHkid objects.HKID) error
- func Post(objecthash objects.HKID, path string, postBytes objects.Byteser) (hid objects.HID, err error)
- func PostBlob(b objects.Blob) (err error)
- func PostCommit(c objects.Commit) (err error)
- func PostKey(p *objects.PrivateKey) (err error)
- func PostList(l objects.List) (err error)
- func PostTag(t objects.Tag) (err error)
- func Registerblobgeter(service blobgeter)
- func Registerblobposter(service blobposter)
- func Registercommand(service commander, usage string)
- func Registercommitgeter(service commitgeter)
- func Registercommitposter(service commitposter)
- func Registerkeygeter(service keygeter)
- func Registerkeyposter(service keyposter)
- func Registerrunner(service runner)
- func Registertaggeter(service taggeter)
- func Registertagposter(service tagposter)
- func Registertagsgeter(service tagsgeter)
- func Repl()
Constants ¶
This section is empty.
Variables ¶
var ContinueCLI = true
Functions ¶
func DeRegisterblobgeter ¶
func DeRegisterblobgeter(service blobgeter)
DeRegisterblobgeter removes a blobgeter from blobgeters
func DeRegisterblobposter ¶
func DeRegisterblobposter(service blobposter)
DeRegisterblobposter removes a blobposter to blobposters
func DeRegistercommand ¶
func DeRegistercommand(service commander)
DeRegistercommand removes a commander from commands
func DeRegistercommitgeter ¶
func DeRegistercommitgeter(service commitgeter)
DeRegistercommitgeter removes a commitgeter from commitgeters
func DeRegistercommitposter ¶
func DeRegistercommitposter(service commitposter)
DeRegistercommitposter removes a commitposter from commitposters
func DeRegisterkeygeter ¶
func DeRegisterkeygeter(service keygeter)
DeRegisterkeygeter removes a keygeter from keygeters
func DeRegisterkeyposter ¶
func DeRegisterkeyposter(service keyposter)
DeRegisterkeyposter removes a keyposter from keyposters
func DeRegisterrunner ¶
func DeRegisterrunner(service runner)
DeRegisterrunner removes a runner from runners
func DeRegistertaggeter ¶
func DeRegistertaggeter(service taggeter)
DeRegistertaggeter removes a taggeter from taggeters
func DeRegistertagposter ¶
func DeRegistertagposter(service tagposter)
DeRegistertagposter removes a tagposter from tagposters
func DeRegistertagsgeter ¶
func DeRegistertagsgeter(service tagsgeter)
DeRegistertagsgeter removes a tagsgeter from tagsgeters
func GetCommitForHcid ¶
GetCommitForHcid retrieves a specific commit by its HCID
func GetKey ¶
func GetKey(h objects.HKID) (*objects.PrivateKey, error)
GetKey uses the HKID to lookup the PrivateKey.
func GetPrivateKeyForHkid ¶
func GetPrivateKeyForHkid(hkid objects.HKID) (k *objects.PrivateKey, err error)
GetPrivateKeyForHkid uses the lookup services to get a private key for an hkid
func GetPublicKeyForHkid ¶
GetPublicKeyForHkid uses the lookup services to get a public key for an hkid
func GetTagForHcid ¶
GetTagForHcid retrieves a specific tag by its HCID
func InitDomain ¶
InitDomain creates a new domain and inserts it to the HKID at the path specified
func InsertDomain ¶
InsertDomain inserts a given foreign hkid to the local HKID at the path specified
func InsertRepo ¶
InsertRepo inserts a given foreign hkid to the local HKID at the path spesified
func Post ¶
func Post(objecthash objects.HKID, path string, postBytes objects.Byteser) (hid objects.HID, err error)
Post releases a content object and the necessary intermediate objects to storage
func PostCommit ¶
PostCommit releases a commit to storage
func Registerblobgeter ¶
func Registerblobgeter(service blobgeter)
Registerblobgeter adds a blobgeter to blobgeters
func Registerblobposter ¶
func Registerblobposter(service blobposter)
Registerblobposter adds a blobposter to blobposters
func Registercommand ¶
func Registercommand(service commander, usage string)
Registercommand adds a commander to commands
func Registercommitgeter ¶
func Registercommitgeter(service commitgeter)
Registercommitgeter adds a commitgeter to commitgeters
func Registercommitposter ¶
func Registercommitposter(service commitposter)
Registercommitposter adds a commitposter to commitposters
func Registerkeygeter ¶
func Registerkeygeter(service keygeter)
Registerkeygeter adds a keygeter the keygeters
func Registerkeyposter ¶
func Registerkeyposter(service keyposter)
Registerkeyposter adds a keyposter to keyposters
func Registertaggeter ¶
func Registertaggeter(service taggeter)
Registertaggeter adds a taggeter to taggeters
func Registertagposter ¶
func Registertagposter(service tagposter)
Registertagposter adds a tagposter to tagposters
func Registertagsgeter ¶
func Registertagsgeter(service tagsgeter)
Registertagsgeter adds a tagsgeter to tagsgeters
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package kademliadht is the kademliaservice
|
Package kademliadht is the kademliaservice |
Package multicast multicastservice.go
|
Package multicast multicastservice.go |