String returns string representation of the nomination attribute.
()
| 64 | |
| 65 | // String returns string representation of the nomination attribute. |
| 66 | func (a NominationAttribute) String() string { |
| 67 | return fmt.Sprintf("NOMINATION: %d", a.Value) |
| 68 | } |
| 69 | |
| 70 | // Nomination creates a new STUN nomination attribute. |
| 71 | func Nomination(value uint32) NominationAttribute { |
no outgoing calls