Documentation ¶
Index ¶
- func Checksum(v interface{}) (string, error)
- func GenerateSessionId() string
- func IsWSL() (bool, error)
- func NewAltReadWriteCloserConn(rwc io.ReadWriteCloser, c net.Conn) net.Conn
- func NewConnection(ctx context.Context, remoteUrl, remotePublicKey string, tlsConfig *tls.Config) (net.Conn, error)
- func NormalizeHttpUrl(input string) (string, error)
- func OpenURL(url string) error
- func Pipe(from io.ReadWriteCloser, to io.ReadWriteCloser)
- func PipeStdInOut(from io.ReadWriteCloser)
- func StripScheme(input string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateSessionId ¶
func GenerateSessionId() string
func NewAltReadWriteCloserConn ¶ added in v0.5.0
func NewConnection ¶ added in v0.8.0
func NormalizeHttpUrl ¶
func OpenURL ¶
OpenURL opens the specified URL in the default browser of the user. Source: https://stackoverflow.com/a/39324149/453290
func Pipe ¶ added in v0.8.0
func Pipe(from io.ReadWriteCloser, to io.ReadWriteCloser)
func PipeStdInOut ¶ added in v0.8.0
func PipeStdInOut(from io.ReadWriteCloser)
func StripScheme ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.