Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubscriptionManager ¶
type SubscriptionManager interface { AddPodToMarketplace(podAddress, owner common.Address, pod, title, desc, thumbnail string, price uint64, daysValid uint16, category, nameHash [32]byte, key *ecdsa.PrivateKey) error HidePodFromMarketplace(owner common.Address, subHash [32]byte, hide bool, key *ecdsa.PrivateKey) error RequestAccess(subscriber common.Address, subHash, nameHash [32]byte, key *ecdsa.PrivateKey) error AllowAccess(owner common.Address, si *rpc.ShareInfo, requestHash, secret [32]byte, key *ecdsa.PrivateKey) error GetSubscription(infoLocation []byte, secret [32]byte) (*rpc.ShareInfo, error) GetSubscriptions(nameHash [32]byte) ([]datahub.DataHubSubItem, error) GetAllSubscribablePods() ([]datahub.DataHubSub, error) GetOwnSubscribablePods(owner common.Address) ([]datahub.DataHubSub, error) GetSubscribablePodInfo(subHash [32]byte) (*rpc.SubscriptionItemInfo, error) GetSubRequests(owner common.Address) ([]datahub.DataHubSubRequest, error) GetSub(subHash [32]byte) (*datahub.DataHubSub, error) }
Click to show internal directories.
Click to hide internal directories.