Documentation ¶
Index ¶
- func RegisterGoCloudSubscribers(ctx context.Context) error
- func RegisterRedisSubscribers(ctx context.Context) error
- func RegisterSubscriber(ctx context.Context, scheme string, f SubscriberInitializeFunc) error
- func RegisterTailFileSubscribers(ctx context.Context) error
- func RegisterTickerSubscribers(ctx context.Context) error
- func SubscriberSchemes() []string
- type ChannelSubscriber
- type GoCloudSubscriber
- type RedisSubscriber
- type Subscriber
- func NewChannelSubscriberWithChannel(ctx context.Context, ch chan string) (Subscriber, error)
- func NewGoCloudSubscriber(ctx context.Context, uri string) (Subscriber, error)
- func NewRedisSubscriber(ctx context.Context, uri string) (Subscriber, error)
- func NewSubscriber(ctx context.Context, uri string) (Subscriber, error)
- func NewTailFileSubscriber(ctx context.Context, uri string) (Subscriber, error)
- func NewTickerSubscriber(ctx context.Context, uri string) (Subscriber, error)
- type SubscriberInitializeFunc
- type TailFileSubscriber
- type TickerSubscriber
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGoCloudSubscribers ¶ added in v0.0.12
func RegisterRedisSubscribers ¶ added in v0.0.12
func RegisterSubscriber ¶
func RegisterSubscriber(ctx context.Context, scheme string, f SubscriberInitializeFunc) error
func RegisterTailFileSubscribers ¶ added in v0.0.14
func RegisterTickerSubscribers ¶ added in v0.0.12
func SubscriberSchemes ¶ added in v0.0.12
func SubscriberSchemes() []string
Types ¶
type ChannelSubscriber ¶
type ChannelSubscriber struct { Subscriber // contains filtered or unexported fields }
func (*ChannelSubscriber) Close ¶
func (sub *ChannelSubscriber) Close() error
type GoCloudSubscriber ¶
type GoCloudSubscriber struct { Subscriber // contains filtered or unexported fields }
func (*GoCloudSubscriber) Close ¶
func (sub *GoCloudSubscriber) Close() error
type RedisSubscriber ¶
type RedisSubscriber struct { Subscriber // contains filtered or unexported fields }
func (*RedisSubscriber) Close ¶
func (s *RedisSubscriber) Close() error
type Subscriber ¶
func NewChannelSubscriberWithChannel ¶
func NewChannelSubscriberWithChannel(ctx context.Context, ch chan string) (Subscriber, error)
func NewGoCloudSubscriber ¶
func NewGoCloudSubscriber(ctx context.Context, uri string) (Subscriber, error)
func NewRedisSubscriber ¶
func NewRedisSubscriber(ctx context.Context, uri string) (Subscriber, error)
func NewSubscriber ¶
func NewSubscriber(ctx context.Context, uri string) (Subscriber, error)
func NewTailFileSubscriber ¶ added in v0.0.14
func NewTailFileSubscriber(ctx context.Context, uri string) (Subscriber, error)
func NewTickerSubscriber ¶
func NewTickerSubscriber(ctx context.Context, uri string) (Subscriber, error)
type SubscriberInitializeFunc ¶
type SubscriberInitializeFunc func(ctx context.Context, uri string) (Subscriber, error)
type TailFileSubscriber ¶ added in v0.0.14
type TailFileSubscriber struct { Subscriber // contains filtered or unexported fields }
func (*TailFileSubscriber) Close ¶ added in v0.0.14
func (pub *TailFileSubscriber) Close() error
type TickerSubscriber ¶
type TickerSubscriber struct { Subscriber // contains filtered or unexported fields }
func (*TickerSubscriber) Close ¶
func (sub *TickerSubscriber) Close() error
Click to show internal directories.
Click to hide internal directories.