chore: added TestPoller.Stop
This commit is contained in:
1 parent
d7ef71dc7c
commit
c4e06aeecd
1 file changed
+4
@@ -197,6 +197,10 @@ func (tp *TestPoller) Start(_ context.Context) (<-chan model.Update, error) {
|
|||||||
return tp.ch, nil
|
return tp.ch, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (tp *TestPoller) Stop(_ context.Context) error {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
func WithAddress(addr string) WebhookOption {
|
func WithAddress(addr string) WebhookOption {
|
||||||
return newWhOption(func(opts *webhookOptions) {
|
return newWhOption(func(opts *webhookOptions) {
|
||||||
opts.addr = addr
|
opts.addr = addr
|
||||||
|
|||||||
Reference in new issue
Block a user