Documentation ¶ Index ¶ func NewResolver() resolver.IResolver type Entry type Resolver func (r Resolver) Get(key string) (string, error) func (r Resolver) Set(key string, val string, timeout int64) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewResolver ¶ func NewResolver() resolver.IResolver Types ¶ type Entry ¶ type Entry struct { Value string Timeout time.Time } type Resolver ¶ type Resolver struct { resolver.IResolver // contains filtered or unexported fields } func (Resolver) Get ¶ func (r Resolver) Get(key string) (string, error) func (Resolver) Set ¶ func (r Resolver) Set(key string, val string, timeout int64) error Source Files ¶ View all Source files resolver.go Click to show internal directories. Click to hide internal directories.