Documentation ¶ Index ¶ Variables func Copy(a, b Impl) error type Impl type Opts func ParseOpts(uri string) (string, string, Opts, error) func ParseOptsURL(u *url.URL) (string, string, Opts, error) func (o Opts) Frag(def string) string func (o Opts) Get(key, def string) string func (o Opts) GetAny(keys []string, def string) string func (o Opts) Pass(def string) string func (o Opts) Path(def string) string func (o Opts) Port(def uint) uint func (o Opts) User(def string) string Constants ¶ This section is empty. Variables ¶ View Source var ErrNoKey = errors.New("(impl) no such key") View Source var ErrNoProto = errors.New("no proto") Functions ¶ func Copy ¶ func Copy(a, b Impl) error Types ¶ type Impl ¶ type Impl interface { Keys() ([]string, error) Get(k string, v interface{}) error Set(k string, v interface{}) error Del(k string) error Close() error } type Opts ¶ type Opts map[string]string func ParseOpts ¶ func ParseOpts(uri string) (string, string, Opts, error) func ParseOptsURL ¶ func ParseOptsURL(u *url.URL) (string, string, Opts, error) func (Opts) Frag ¶ func (o Opts) Frag(def string) string func (Opts) Get ¶ func (o Opts) Get(key, def string) string func (Opts) GetAny ¶ func (o Opts) GetAny(keys []string, def string) string func (Opts) Pass ¶ func (o Opts) Pass(def string) string func (Opts) Path ¶ func (o Opts) Path(def string) string func (Opts) Port ¶ func (o Opts) Port(def uint) uint func (Opts) User ¶ func (o Opts) User(def string) string Source Files ¶ View all Source files copy.goimpl.goopts.go Directories ¶ Show internal Expand all Path Synopsis file gomap Click to show internal directories. Click to hide internal directories.