{"modulePath":"github.com/wavetermdev/waveterm","version":"v0.14.5","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package connparse\n\n## Constants\n\n```go\nconst (\n\tConnectionTypeWsh = \"wsh\"\n\n\tConnHostCurrent = \"current\"\n\tConnHostWaveSrv = \"wavesrv\"\n)\n```\n\n## Functions\n\n```go\nfunc GetConnNameFromContext(ctx context.Context) (string, error)\n```\n\n## Types\n\n```go\ntype Connection struct {\n\tScheme string\n\tHost   string\n\tPath   string\n}\n```\n\n```go\nfunc ParseURI(uri string) (*Connection, error)\n```\nParseURI parses a connection URI and returns the connection type, host/path, and parameters.\n\n```go\nfunc ParseURIAndReplaceCurrentHost(ctx context.Context, uri string) (*Connection, error)\n```\n\n```go\nfunc (c *Connection) GetFullURI() string\n```\n\n```go\nfunc (c *Connection) GetPathWithHost() string\n```\n\n```go\nfunc (c *Connection) GetSchemeAndHost() string\n```\n\n```go\nfunc (c *Connection) GetSchemeParts() []string\n```\n\n```go\nfunc (c *Connection) GetType() string\n```\n\n","path":"github.com/wavetermdev/waveterm/pkg/remote/connparse","name":"connparse","synopsis":"","isRedistributable":true}
