* incapsulates multipleldap logic under one module * abstracts users upsert and get logic * changes some of the text error messages and import sort sequence * heavily refactors the LDAP module – LDAP module now only deals with LDAP related behaviour * integrates affected auth_proxy module and their tests * refactoring of the auth_proxy logic
12 lines
307 B
Go
12 lines
307 B
Go
package gofakeit
|
|
|
|
// SimpleStatusCode will generate a random simple status code
|
|
func SimpleStatusCode() int {
|
|
return getRandIntValue([]string{"status_code", "simple"})
|
|
}
|
|
|
|
// StatusCode will generate a random status code
|
|
func StatusCode() int {
|
|
return getRandIntValue([]string{"status_code", "general"})
|
|
}
|