http_transport

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTransporter

func CreateTransporter(conf *Config) (formatter.ITransport, error)

Types

type Config

type Config struct {
	Method       string
	Url          string
	Headers      http.Header
	HandlerCount int
}

type Transporter

type Transporter struct {
	// contains filtered or unexported fields
}

func (*Transporter) Close

func (t *Transporter) Close() error

func (*Transporter) Write

func (t *Transporter) Write(data []byte) error

Jump to

Keyboard shortcuts

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