Documentation
¶
Index ¶
Constants ¶
View Source
const ( RECV_GET_ACK = "RECV_GET_ACK" PEERS_PRUNED = "PEERS_PRUNED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubscriptionService ¶
type SubscriptionService struct {
// contains filtered or unexported fields
}
func NewSubscriptionService ¶
func NewSubscriptionService(bufferSize int) *SubscriptionService
func (*SubscriptionService) Publish ¶
func (s *SubscriptionService) Publish(topic string, event interface{})
func (*SubscriptionService) Subscribe ¶
func (s *SubscriptionService) Subscribe(topic string) chan interface{}
func (*SubscriptionService) Unsubscribe ¶
func (s *SubscriptionService) Unsubscribe(topic string, ch chan interface{})
Click to show internal directories.
Click to hide internal directories.