http

package
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(config *protocol.Protocol_Http) point.WrapProxy

func NewServer

func NewServer(o *listener.Inbound_Http) func(netapi.Listener) (netapi.Accepter, error)

Types

type Server

type Server struct {
	*netapi.ChannelServer
	// contains filtered or unexported fields
}

func (*Server) AcceptPacket added in v0.3.3

func (s *Server) AcceptPacket() (*netapi.Packet, error)

func (*Server) Close added in v0.3.3

func (s *Server) Close() error

func (*Server) ServeHTTP

func (h *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL