Documentation ¶
Index ¶
- type EasyConnectClient
- func (c *EasyConnectClient) DNSResource() (map[string]net.IP, error)
- func (c *EasyConnectClient) DomainResource() (map[string]bool, error)
- func (c *EasyConnectClient) IP() (net.IP, error)
- func (c *EasyConnectClient) IPResource() (*netaddr.IPSet, error)
- func (c *EasyConnectClient) RecvConn() (*tls.UConn, error)
- func (c *EasyConnectClient) SendConn() (*tls.UConn, error)
- func (c *EasyConnectClient) Setup() error
- type RvpnConn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EasyConnectClient ¶
type EasyConnectClient struct {
// contains filtered or unexported fields
}
func NewEasyConnectClient ¶
func NewEasyConnectClient(server, username, password, twfID string, testMultiLine, parseResource bool) *EasyConnectClient
func (*EasyConnectClient) DNSResource ¶
func (c *EasyConnectClient) DNSResource() (map[string]net.IP, error)
func (*EasyConnectClient) DomainResource ¶
func (c *EasyConnectClient) DomainResource() (map[string]bool, error)
func (*EasyConnectClient) IPResource ¶
func (c *EasyConnectClient) IPResource() (*netaddr.IPSet, error)
func (*EasyConnectClient) RecvConn ¶
func (c *EasyConnectClient) RecvConn() (*tls.UConn, error)
RecvConn create a special TLS connection to receive data from the VPN server
func (*EasyConnectClient) SendConn ¶
func (c *EasyConnectClient) SendConn() (*tls.UConn, error)
SendConn create a special TLS connection to send data to the VPN server
func (*EasyConnectClient) Setup ¶
func (c *EasyConnectClient) Setup() error
type RvpnConn ¶
type RvpnConn struct {
// contains filtered or unexported fields
}
func NewRvpnConn ¶
func NewRvpnConn(ec *EasyConnectClient) (*RvpnConn, error)
Click to show internal directories.
Click to hide internal directories.