expect

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exp

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

func (*Exp) HasValue

func (e *Exp) HasValue(key string, value any) *Exp

func (*Exp) JSON

func (e *Exp) JSON() *Exp

func (*Exp) Object

func (e *Exp) Object() *Exp

type Req

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

func Default

func Default(t assert.TestingT, baseURL string) *Req

func (*Req) Expect

func (r *Req) Expect() *Exp

func (*Req) GET

func (r *Req) GET(path string) *Req

func (*Req) POST

func (r *Req) POST(path string) *Req

func (*Req) WithHeader

func (r *Req) WithHeader(k, v string) *Req

Jump to

Keyboard shortcuts

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