Documentation ¶
Index ¶
Constants ¶
View Source
const GETSOCKOPT = syscall.SYS_GETSOCKOPT
GETSOCKOPT from syscall
Variables ¶
This section is empty.
Functions ¶
func NewRedir6Server ¶ added in v0.6.9
NewRedir6Server returns a redir server for ipv6.
Types ¶
type RedirProxy ¶
type RedirProxy struct {
// contains filtered or unexported fields
}
RedirProxy struct.
func NewRedirProxy ¶
NewRedirProxy returns a redirect proxy.
func (*RedirProxy) ListenAndServe ¶
func (s *RedirProxy) ListenAndServe()
ListenAndServe listens on server's addr and serves connections.
func (*RedirProxy) Serve ¶ added in v0.6.9
func (s *RedirProxy) Serve(cc net.Conn)
Serve serves connections.
Click to show internal directories.
Click to hide internal directories.