mirror of
https://github.com/openziti/zrok.git
synced 2024-11-22 16:13:47 +01:00
24 lines
441 B
Go
24 lines
441 B
Go
|
package sdk
|
||
|
|
||
|
type BackendMode string
|
||
|
|
||
|
const (
|
||
|
ProxyBackendMode BackendMode = "proxy"
|
||
|
WebBackendMode BackendMode = "web"
|
||
|
TcpTunnelBackendMode BackendMode = "tcpTunnel"
|
||
|
UdpTunnelBackendMode BackendMode = "udpTunnel"
|
||
|
)
|
||
|
|
||
|
type ShareMode string
|
||
|
|
||
|
const (
|
||
|
PrivateShareMode ShareMode = "private"
|
||
|
PublicShareMode ShareMode = "public"
|
||
|
)
|
||
|
|
||
|
type ShareRequest struct {
|
||
|
BackendMode BackendMode
|
||
|
ShareMode ShareMode
|
||
|
Target string
|
||
|
}
|