Add APIKey authentification

This commit is contained in:
TeoV
2018-06-06 10:00:02 -04:00
committed by Dan Christian Bogos
parent 3543d10e9c
commit ebc419771d
22 changed files with 604 additions and 190 deletions

View File

@@ -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, ".", "")