Files
grafana/vendor/github.com/brianvoe/gofakeit/status_code.go
T
Oleg Gaidarenko 35f227de11 Feature: LDAP refactoring (#16950)
* 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
2019-05-17 14:57:26 +03:00

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"})
}