getRandomExposure returns a random exposure value
()
| 26 | |
| 27 | // getRandomExposure returns a random exposure value |
| 28 | func getRandomExposure() schema.EndpointExposure { |
| 29 | return Exposures[GetRandomNumber(1, len(Exposures))-1] |
| 30 | } |
| 31 | |
| 32 | var Protocols = [...]schema.EndpointProtocol{schema.HTTPEndpointProtocol, schema.HTTPSEndpointProtocol, schema.WSEndpointProtocol, schema.WSSEndpointProtocol, schema.TCPEndpointProtocol, schema.UDPEndpointProtocol} |
| 33 |
no test coverage detected