http_client_name_string.go 642 B

1234567891011121314151617181920212223
  1. // Code generated by "stringer -type=ClientName -output=http_client_name_string.go"; DO NOT EDIT.
  2. package client
  3. import "strconv"
  4. func _() {
  5. // An "invalid array index" compiler error signifies that the constant values have changed.
  6. // Re-run the stringer command to generate them again.
  7. var x [1]struct{}
  8. _ = x[Client-0]
  9. }
  10. const _ClientName_name = "Client"
  11. var _ClientName_index = [...]uint8{0, 6}
  12. func (i ClientName) String() string {
  13. if i < 0 || i >= ClientName(len(_ClientName_index)-1) {
  14. return "ClientName(" + strconv.FormatInt(int64(i), 10) + ")"
  15. }
  16. return _ClientName_name[_ClientName_index[i]:_ClientName_index[i+1]]
  17. }