Versions in this module Expand all Collapse all v0 v0.0.1 Sep 18, 2023 Changes in this version + func NewClient(ctx context.Context, dialer N.Dialer, serverAddr M.Socksaddr, ...) adapter.V2RayClientTransport + type Client struct + func (c *Client) Close() error + func (c *Client) DialContext(ctx context.Context) (net.Conn, error) + type GunConn struct + func (c *GunConn) Close() error + func (c *GunConn) FrontHeadroom() int + func (c *GunConn) LocalAddr() net.Addr + func (c *GunConn) NeedAdditionalReadDeadline() bool + func (c *GunConn) Read(b []byte) (n int, err error) + func (c *GunConn) RemoteAddr() net.Addr + func (c *GunConn) SetDeadline(t time.Time) error + func (c *GunConn) SetReadDeadline(t time.Time) error + func (c *GunConn) SetWriteDeadline(t time.Time) error + func (c *GunConn) Write(b []byte) (n int, err error) + func (c *GunConn) WriteBuffer(buffer *buf.Buffer) error + type Server struct + func NewServer(ctx context.Context, options option.V2RayGRPCOptions, ...) (*Server, error) + func (s *Server) Close() error + func (s *Server) Network() []string + func (s *Server) Serve(listener net.Listener) error + func (s *Server) ServeHTTP(writer http.ResponseWriter, request *http.Request) + func (s *Server) ServePacket(listener net.PacketConn) error