Constructors
Methods
set
set(k: string, v: string): Promise<ConfigResponse> Returns Promise<ConfigResponse>
setAll
setAll(m: Map<string, string>): Promise<ConfigResponse> Returns Promise<ConfigResponse>
unset
unset(k: string): Promise<ConfigResponse> Returns Promise<ConfigResponse>
getOption
getOption(k: string): Promise<undefined | string> Returns Promise<undefined | string>
get
get(k: string, defaultVal?: string): Promise<string> Parameters
- k: string
OptionaldefaultVal: string
Returns Promise<string>
getAll
getAll(): Promise<Map<string, undefined | string>> Returns Promise<Map<string, undefined | string>>
isModifiable
isModifiable(k: string): Promise<boolean>