Key constructs the full key for entity identified by ks by prepending the configured namespace and joining ks using the default separator.
(ks ...string)
| 220 | |
| 221 | // Key constructs the full key for entity identified by ks by prepending the configured namespace and joining ks using the default separator. |
| 222 | func (cl *Client) Key(ks ...string) string { |
| 223 | return Key(append([]string{cl.namespace}, ks...)...) |
| 224 | } |
| 225 | |
| 226 | // ProtoCmd is a command, which can unmarshal its result into a protocol buffer. |
| 227 | type ProtoCmd struct { |