Help us shape the future of Go! Take the 2026 Go Developer Survey

response

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNextRequest

func GetNextRequest(prevRequest *http.Request, prevResponse *http.Response) *http.Request

Types

type Parser

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

func NewParser

func NewParser() *Parser

func (*Parser) GetNextRequest

func (p *Parser) GetNextRequest(prevRequest *http.Request, prevResponse *http.Response) *http.Request

type RelType

type RelType string

RelType represents the type of the link relation.

const (
	RelTypeNext    RelType = `rel="next"`
	RelTypePrev    RelType = `rel="prev"`
	RelTypeFirst   RelType = `rel="first"`
	RelTypeLast    RelType = `rel="last"`
	RelTypeUnknown RelType = ``
)

RelType constants.

Jump to

Keyboard shortcuts

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