You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
321 B
Go
23 lines
321 B
Go
2 years ago
|
package aws
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"time"
|
||
|
)
|
||
|
|
||
|
type suppressedContext struct {
|
||
|
context.Context
|
||
|
}
|
||
|
|
||
|
func (s *suppressedContext) Deadline() (deadline time.Time, ok bool) {
|
||
|
return time.Time{}, false
|
||
|
}
|
||
|
|
||
|
func (s *suppressedContext) Done() <-chan struct{} {
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (s *suppressedContext) Err() error {
|
||
|
return nil
|
||
|
}
|