Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRateLimitFailOverService ¶
func NewRateLimitFailOverService(svc failover.FailureRateFailOverService, limiter ratelimit.Limiter, repo repository.SmsRepository, opts ...option.Option[RateLimitFailOverService]) sms.Service
func WithWorkshop ¶
func WithWorkshop(shop Workshop) option.Option[RateLimitFailOverService]
Types ¶
type Option ¶
type Option func(shop *SimpleWorkShop)
type RateLimitFailOverService ¶
type RateLimitFailOverService struct {
// contains filtered or unexported fields
}
type SimpleWorkShop ¶
type SimpleWorkShop struct {
// contains filtered or unexported fields
}
func (*SimpleWorkShop) IsStarted ¶
func (w *SimpleWorkShop) IsStarted() bool
func (*SimpleWorkShop) Start ¶
func (w *SimpleWorkShop) Start(ctx context.Context)
type Workshop ¶
func NewSimpleWorkShop ¶
func NewSimpleWorkShop(agentCnt int, repo repository.SmsRepository, svc sms.Service, opts ...Option) Workshop
Click to show internal directories.
Click to hide internal directories.