Documentation
¶
Index ¶
- Constants
- Variables
- func ChangeFilePermissions(fileName string, userName string, groupName string, mode int) error
- func DirExists(path string) (bool, error)
- func FileExists(path string) (bool, error)
- func IsFileExecutable(f os.FileInfo) bool
- func MatchDomainPattern(pattern, in string) bool
- type PostponedRetryLoop
Constants ¶
Variables ¶
View Source
var StopRetriesErr = errors.New("RetryLoop is stopped by handler")
Functions ¶
func ChangeFilePermissions ¶
func IsFileExecutable ¶
func MatchDomainPattern ¶
Types ¶
type PostponedRetryLoop ¶
type PostponedRetryLoop struct {
StartAfter time.Time
Handler func(context.Context) error
Backoff *exponential.Backoff
// contains filtered or unexported fields
}
func (*PostponedRetryLoop) RunLoop ¶
func (r *PostponedRetryLoop) RunLoop(ctx context.Context) error
func (*PostponedRetryLoop) Stop ¶
func (r *PostponedRetryLoop) Stop()
Click to show internal directories.
Click to hide internal directories.