tracing

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v1.1.0

type Client struct {
	CurrentConnections int32
	// contains filtered or unexported fields
}

func NewTracingClient

func NewTracingClient(timeout time.Duration) *Client

func (*Client) DialContext added in v1.1.0

func (t *Client) DialContext(ctx context.Context, network, address string) (net.Conn, error)

func (*Client) Do added in v1.1.0

func (t *Client) Do(req *http.Request) (resp *http.Response, err error)

func (*Client) String added in v1.1.0

func (t *Client) String()

type Connection added in v1.1.0

type Connection struct {
	net.Conn
	OnEventCallback func(clientClosed bool, serverClosed bool, err error)
}

func (*Connection) CallEvent added in v1.1.0

func (t *Connection) CallEvent(err error)

func (*Connection) Close added in v1.1.0

func (t *Connection) Close() error

func (*Connection) Read added in v1.1.0

func (t *Connection) Read(b []byte) (n int, err error)

func (*Connection) Write added in v1.1.0

func (t *Connection) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳