Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
func NewService ¶
func NewService() *Service
func (*Service) Cleanup ¶ added in v3.30.1
Cleanup cleans up internal caches of subscribers. Visible for testing only.
func (*Service) Subscribe ¶
func (s *Service) Subscribe(name string) *Subscriber
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
func (*Subscriber) Close ¶
func (s *Subscriber) Close() error
func (*Subscriber) IsClosed ¶
func (s *Subscriber) IsClosed() bool
func (*Subscriber) Wait ¶
func (s *Subscriber) Wait() <-chan interface{}
Click to show internal directories.
Click to hide internal directories.