Skip to content

Commit

Permalink
Add endpoint.Failer
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamsxin committed May 1, 2024
1 parent 3813c49 commit 263726b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions endpoint/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ func InvalidateOnError(timeout time.Duration) EndpointerOption {
opts.InvalidateTimeout = timeout
}
}

type Failer interface {
Failed() error
}

0 comments on commit 263726b

Please sign in to comment.