CandidateServerReflexiveConfig is the config required to create a new CandidateServerReflexive.
| 15 | |
| 16 | // CandidateServerReflexiveConfig is the config required to create a new CandidateServerReflexive. |
| 17 | type CandidateServerReflexiveConfig struct { |
| 18 | CandidateID string |
| 19 | Network string |
| 20 | Address string |
| 21 | Port int |
| 22 | Component uint16 |
| 23 | Priority uint32 |
| 24 | Foundation string |
| 25 | RelAddr string |
| 26 | RelPort int |
| 27 | } |
| 28 | |
| 29 | // NewCandidateServerReflexive creates a new server reflective candidate. |
| 30 | func NewCandidateServerReflexive(config *CandidateServerReflexiveConfig) (*CandidateServerReflexive, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected