Documentation ¶
Overview ¶
Package http provides functionality for handling HTTP outgoing calls.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTP ¶
func NewHTTP(logger *zap.Logger) integrations.Integrations
Types ¶
type HTTP ¶
type HTTP struct {
// contains filtered or unexported fields
}
func (*HTTP) MatchType ¶
MatchType function determines if the outgoing network call is HTTP by comparing the message format with that of an HTTP text message.
func (*HTTP) MockOutgoing ¶
func (h *HTTP) MockOutgoing(ctx context.Context, src net.Conn, dstCfg *integrations.ConditionalDstCfg, mockDb integrations.MockMemDb, opts models.OutgoingOptions) error
Click to show internal directories.
Click to hide internal directories.