Dst returns the destination Endpoint for this flow.
()
| 198 | |
| 199 | // Dst returns the destination Endpoint for this flow. |
| 200 | func (f Flow) Dst() (dst Endpoint) { |
| 201 | _, dst = f.Endpoints() |
| 202 | return |
| 203 | } |
| 204 | |
| 205 | // Reverse returns a new flow with endpoints reversed. |
| 206 | func (f Flow) Reverse() Flow { |