Add extra options to be used by others that need them
This commit is contained in:
@@ -6,6 +6,9 @@ import (
|
||||
|
||||
type Options struct {
|
||||
Timeout time.Duration
|
||||
|
||||
// Other options to be used by registry implementations
|
||||
Options map[string]string
|
||||
}
|
||||
|
||||
func Timeout(t time.Duration) Option {
|
||||
|
Reference in New Issue
Block a user