Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func NewPublicAPI ¶
func (*API) SubscribeSignal ¶
func (api *API) SubscribeSignal(method string, args []interface{}) (SubscriptionID, error)
func (*API) UnsubscribeSignal ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents our own implementation of personal sign operations.
type Subscription ¶
type Subscription struct {
// contains filtered or unexported fields
}
func NewSubscription ¶
func NewSubscription(namespace string, filter filter) *Subscription
func (*Subscription) Stop ¶
func (s *Subscription) Stop(uninstall bool) error
type SubscriptionID ¶
type SubscriptionID string
func NewSubscriptionID ¶
func NewSubscriptionID(namespace, filterID string) SubscriptionID
type Subscriptions ¶
type Subscriptions struct {
// contains filtered or unexported fields
}
func NewSubscriptions ¶
func NewSubscriptions(period time.Duration) *Subscriptions
func (*Subscriptions) Create ¶
func (s *Subscriptions) Create(namespace string, filter filter) (SubscriptionID, error)
func (*Subscriptions) Remove ¶
func (s *Subscriptions) Remove(id SubscriptionID) error
Click to show internal directories.
Click to hide internal directories.