(bound *nativeBoundSessionScope, values ...string)
| 4820 | } |
| 4821 | |
| 4822 | func nativeBoundSessionID(bound *nativeBoundSessionScope, values ...string) string { |
| 4823 | if bound == nil { |
| 4824 | return firstNonEmpty(values...) |
| 4825 | } |
| 4826 | return bound.sessionID |
| 4827 | } |
| 4828 | |
| 4829 | func nativeBoundSessionAllowsChannel(bound *nativeBoundSessionScope, channel string) bool { |
| 4830 | if bound == nil || len(bound.networkChannels) == 0 { |
no test coverage detected