Documentation ¶
Index ¶
- func NewClient(ctx context.Context, dialer N.Dialer, serverAddr M.Socksaddr, ...) adapter.V2RayClientTransport
- type Client
- type HTTPConn
- func (c *HTTPConn) Close() error
- func (c *HTTPConn) LocalAddr() net.Addr
- func (c *HTTPConn) Read(b []byte) (n int, err error)
- func (c *HTTPConn) RemoteAddr() net.Addr
- func (c *HTTPConn) SetDeadline(t time.Time) error
- func (c *HTTPConn) SetReadDeadline(t time.Time) error
- func (c *HTTPConn) SetWriteDeadline(t time.Time) error
- func (c *HTTPConn) Write(b []byte) (n int, err error)
- type Server
- type ServerHTTPConn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HTTPConn ¶
type HTTPConn struct {
// contains filtered or unexported fields
}
func (*HTTPConn) RemoteAddr ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) ServeHTTP ¶
func (s *Server) ServeHTTP(writer http.ResponseWriter, request *http.Request)
func (*Server) ServePacket ¶
func (s *Server) ServePacket(listener net.PacketConn) error
type ServerHTTPConn ¶
type ServerHTTPConn struct { HTTPConn // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.