(key, value string)
| 19 | } |
| 20 | |
| 21 | func (mc *MemConfig) StoreString(key, value string) error { |
| 22 | key = normalizeKey(key) |
| 23 | mc.config[key] = value |
| 24 | return nil |
| 25 | } |
| 26 | |
| 27 | func (mc *MemConfig) StoreBool(key string, value bool) error { |
| 28 | return mc.StoreString(key, strconv.FormatBool(value)) |