-func (endpoint RmrEndpoint) String() string {
- return endpoint.Addr + ":" + strconv.FormatUint(uint64(endpoint.Port), 10)
+type Sdlnterface interface {
+ Set(ns string, pairs ...interface{}) error
+ Get(ns string, keys []string) (map[string]interface{}, error)
+ GetAll(ns string) ([]string, error)
+ Remove(ns string, keys []string) error
+ RemoveAll(ns string) error