mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Add APIKey authentification
This commit is contained in:
committed by
Dan Christian Bogos
parent
3543d10e9c
commit
ebc419771d
@@ -176,6 +176,11 @@ func (sm StringMap) Join(mps ...StringMap) {
|
||||
}
|
||||
}
|
||||
|
||||
func (sm StringMap) HasKey(key string) (has bool) {
|
||||
_, has = sm[key]
|
||||
return
|
||||
}
|
||||
|
||||
/*
|
||||
func NoDots(m map[string]struct{}) map[string]struct{} {
|
||||
return MapKeysReplace(m, ".", ".")
|
||||
|
||||
Reference in New Issue
Block a user