lib

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DEFAULT_USER_AGENT        = `` /* 129-byte string literal not displayed */
	DEFAULT_MOBILE_USER_AGENT = `` /* 136-byte string literal not displayed */
)

Functions

This section is empty.

Types

type AddHeaderTransport

type AddHeaderTransport struct {
	T http.RoundTripper
	// contains filtered or unexported fields
}

func NewAddHeaderTransport

func NewAddHeaderTransport(T http.RoundTripper, mobile bool) *AddHeaderTransport

func (*AddHeaderTransport) RoundTrip

func (adt *AddHeaderTransport) RoundTrip(req *http.Request) (*http.Response, error)

type Background

type Background interface {
	Start() error
	io.ReadCloser
}

type Foreground

type Foreground interface {
	Start(gin.ResponseWriter) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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