(name string)
| 202 | } |
| 203 | |
| 204 | func (m *statusManager) IsEnabled(name string) bool { |
| 205 | if status, ok := m.status[name]; ok { |
| 206 | return status |
| 207 | } |
| 208 | return false |
| 209 | } |
| 210 | |
| 211 | // MarshalJSON implements the json.Marshaler interface. |
| 212 | func (m *statusManager) MarshalJSON() ([]byte, error) { |