()
| 131 | } |
| 132 | |
| 133 | func (h *Handler) ExternalURL() string { |
| 134 | if h.customExternalURL != "" { |
| 135 | return h.customExternalURL + "/" + h.token |
| 136 | } |
| 137 | return fmt.Sprintf("http://%s:%d/%s", h.outboundIP, h.GetActualPort(), h.token) |
| 138 | } |
| 139 | |
| 140 | func (h *Handler) Close() error { |
| 141 | if h == nil { |