Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNilConfig = errors.New("ably config is nil")
)
Functions ¶
This section is empty.
Types ¶
type ChannelPublisher ¶
type ChannelPublisher interface {
Publish(ctx context.Context, channel, name string, data any) error
}
ChannelPublisher abstracts Ably channel publishing for testability.
type Config ¶
type Config struct {
APIKey string `env:"API_KEY" json:"apiKey"`
}
Config holds Ably async notifier configuration.
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
Notifier is an Ably-backed AsyncNotifier.
func NewNotifier ¶
func NewNotifier(cfg *Config, logger logging.Logger, tracerProvider tracing.TracerProvider) (*Notifier, error)
NewNotifier creates a new Ably-backed AsyncNotifier.
Click to show internal directories.
Click to hide internal directories.