Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SpaceClient ¶
type SpaceClient interface { bcclientgo.BCClient Add(bcgo.Node, bcgo.MiningListener, string, string, io.Reader) (*bcgo.Reference, error) Amend(bcgo.Node, bcgo.MiningListener, bcgo.Channel, ...*spacego.Delta) error MetaForHash(bcgo.Node, []byte, spacego.MetaCallback) error AllMetas(bcgo.Node, spacego.MetaCallback) error ReadFile(bcgo.Node, []byte) (io.Reader, error) WriteFile(bcgo.Node, bcgo.MiningListener, []byte) (io.WriteCloser, error) WatchFile(context.Context, bcgo.Node, []byte, func()) AddTag(bcgo.Node, bcgo.MiningListener, []byte, []string) ([]*bcgo.Reference, error) AllTagsForHash(bcgo.Node, []byte, spacego.TagCallback) error SearchMeta(bcgo.Node, spacego.MetaFilter, spacego.MetaCallback) error SearchTag(bcgo.Node, spacego.TagFilter, spacego.MetaCallback) error Registration(string, financego.RegistrationCallback) error Subscription(string, financego.SubscriptionCallback) error }
func NewSpaceClient ¶
func NewSpaceClient(peers ...string) SpaceClient
Click to show internal directories.
Click to hide internal directories.