Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionError ¶
ExecutionError is an error type returned by Execute
func (*ExecutionError) Error ¶
func (r *ExecutionError) Error() string
Error returns the error string
type Reason ¶
type Reason int
Reason is the reason why executing ngrok failed
const ( // MissingNgrok indicates ngrok executable can't be found MissingNgrok Reason = iota // UnexecutableNgrok indicates ngrok can't be executed UnexecutableNgrok Reason = iota // MissingAuthToken indicates ngrok must be authed MissingAuthToken Reason = iota // Canceled indicates that the user canceled the execution Canceled Reason = iota // CantReadFromPty indicates that there was a problem reading the stdout from ngrok CantReadFromPty Reason = iota // PortParsingError indicates that there was a problem parsing the forwarding url's port from ngrok PortParsingError Reason = iota // URLParsingError indicates that there was a problem parsing the forwarding url from ngrok URLParsingError Reason = iota // CantSetPtyWindowSize indicates that there was a problem setting the pty's window size CantSetPtyWindowSize Reason = iota )
Click to show internal directories.
Click to hide internal directories.