reqmiddleware

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const Timestamp = "Timestamp"

Variables

This section is empty.

Functions

This section is empty.

Types

type InitRequestMiddleware

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

func NewInitRequestMiddleware

func NewInitRequestMiddleware(logger logservice.Logger) *InitRequestMiddleware

func (*InitRequestMiddleware) InitRequest

type RandUrlMiddleware

type RandUrlMiddleware struct {
	URLs []string
	// contains filtered or unexported fields
}

func NewRandUrlMiddleware

func NewRandUrlMiddleware(URLs []string, logger logservice.Logger) *RandUrlMiddleware

func (*RandUrlMiddleware) AddRandUrl

func (m *RandUrlMiddleware) AddRandUrl(next httpclientmiddleware.RequestModifier) httpclientmiddleware.RequestModifier

type TimestampMiddleware

type TimestampMiddleware struct {
}

func NewTimestampMiddleware

func NewTimestampMiddleware() *TimestampMiddleware

func (*TimestampMiddleware) AddTimestamp

func (m *TimestampMiddleware) AddTimestamp(next httpclientmiddleware.RequestModifier) httpclientmiddleware.RequestModifier

Jump to

Keyboard shortcuts

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