trimInbound 对 Inbound 的所有字符串字段做 TrimSpace。
(ib *inbounds.Inbound)
| 482 | |
| 483 | // trimInbound 对 Inbound 的所有字符串字段做 TrimSpace。 |
| 484 | func trimInbound(ib *inbounds.Inbound) { |
| 485 | ib.Tag = strings.TrimSpace(ib.Tag) |
| 486 | ib.Method = strings.TrimSpace(ib.Method) |
| 487 | ib.Password = strings.TrimSpace(ib.Password) |
| 488 | ib.Security = strings.TrimSpace(ib.Security) |
| 489 | ib.RealityPrivateKey = strings.TrimSpace(ib.RealityPrivateKey) |
| 490 | ib.RealityPublicKey = strings.TrimSpace(ib.RealityPublicKey) |
| 491 | ib.RealityHandshakeAddr = strings.TrimSpace(ib.RealityHandshakeAddr) |
| 492 | ib.RealityShortID = strings.TrimSpace(ib.RealityShortID) |
| 493 | ib.OutboundID = strings.TrimSpace(ib.OutboundID) |
| 494 | } |
no outgoing calls
no test coverage detected