Add extra options to be used by others that need them

This commit is contained in:
Asim
2015-12-31 18:14:40 +00:00
parent 64b45f7846
commit 191e835aa9
5 changed files with 26 additions and 5 deletions

View File

@@ -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 {