Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseRemote ¶
type BaseRemote interface { Connect(string) (io.ReadWriteCloser, error) // Test is a function try to connect remote server and return delay time Test() (int, error) Config(*RemoteConfig) error }
type QUICRemote ¶
type QUICRemote struct {
// contains filtered or unexported fields
}
func (*QUICRemote) Config ¶
func (q *QUICRemote) Config(config *RemoteConfig) error
func (*QUICRemote) Connect ¶
func (q *QUICRemote) Connect(target string) (io.ReadWriteCloser, error)
func (*QUICRemote) Test ¶
func (q *QUICRemote) Test() (int, error)
type RemoteConfig ¶
func (*RemoteConfig) Address ¶
func (r *RemoteConfig) Address() string
type WebSocketRemote ¶
type WebSocketRemote struct {
// contains filtered or unexported fields
}
func (*WebSocketRemote) Config ¶
func (w *WebSocketRemote) Config(config *RemoteConfig) error
func (*WebSocketRemote) Connect ¶
func (w *WebSocketRemote) Connect(target string) (io.ReadWriteCloser, error)
func (*WebSocketRemote) Test ¶
func (w *WebSocketRemote) Test() (int, error)
Click to show internal directories.
Click to hide internal directories.