Documentation ¶
Index ¶
- Constants
- func AddTraceEvent()
- func AllLayerDx(verbose bool)
- func CloseConn(c *conn) error
- func DialIP(network string, laddr, raddr *net.IPAddr) (conn *net.IPConn, err error)
- func DialTCP(network string, laddr, raddr *net.TCPAddr) (conn *net.TCPConn, err error)
- func DialUDP(network string, laddr, raddr *net.UDPAddr) (conn *net.UDPConn, err error)
- func DialUnix(network string, laddr, raddr *net.UnixAddr) (conn *net.UnixConn, err error)
- func GrpcInvoke(ctx context.Context, method string, req, reply interface{}, ...) (err error)
- func L3Dx(verbose bool)
- func L3Enabled() bool
- func L3Errorf(format string, a ...interface{})
- func L3Printf(format string, a ...interface{})
- func L4Dx(verbose bool)
- func L4Enabled() bool
- func L4Errorf(format string, a ...interface{})
- func L4Printf(format string, a ...interface{})
- func L7Dx(verbose bool)
- func L7Enabled() bool
- func L7Errorf(format string, a ...interface{})
- func L7Printf(format string, a ...interface{})
- func Listen(network, address string) (lt net.Listener, err error)
- func ReadConn(c *conn, b []byte) (int, error)
- func RegisterChannel(_ uintptr, cc **grpc.ClientConn, _ int64, _ string) int64
- func RegisterListenSocket() int64
- func RegisterNormalSocket() int64
- func RegisterServer() int64
- func RegisterSubChannel() int64
- func RemoveEntry(id int64)
- func RoundTrip(transport *http.Transport, req *http.Request) (reps *http.Response, err error)
- func ShowTTY() error
- func VerboseEnabled() bool
- func WriteConn(c *conn, b []byte) (int, error)
Constants ¶
View Source
const ( IP = "ip" TCP = "tcp" UDP = "udp" UNIX = "unix" )
View Source
const ( L3 = "l3" L4 = "l4" L7 = "l7" )
Variables ¶
This section is empty.
Functions ¶
func AddTraceEvent ¶
func AddTraceEvent()
func AllLayerDx ¶
func AllLayerDx(verbose bool)
*
- [√] OSI Layer 7 - application layer
- [x] OSI Layer 6 - presentation layer
- [x] OSI Layer 5 - session layer
- [√] OSI Layer 4 - transport layer
- [√] OSI Layer 3 - network layer
- [x] OSI Layer 2 - data link layer
- [x] OSI Layer 1 - physical layer *
- NOTE: go run -gcflags="all=-N -l" main.go
func GrpcInvoke ¶
func GrpcInvoke(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, opts ...grpc.CallOption) (err error)
func RegisterChannel ¶
func RegisterListenSocket ¶
func RegisterListenSocket() int64
func RegisterNormalSocket ¶
func RegisterNormalSocket() int64
func RegisterServer ¶
func RegisterServer() int64
func RegisterSubChannel ¶
func RegisterSubChannel() int64
func RemoveEntry ¶
func RemoveEntry(id int64)
func ShowTTY ¶
func ShowTTY() error
You can see the network diagnostic information on your web browser
func VerboseEnabled ¶
func VerboseEnabled() bool
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.