request

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Activities = (*activities)(nil)
View Source
var Plugin = &plugin{}

Functions

This section is empty.

Types

type Assert

type Assert struct {
	StatusCodes []int  `json:"status_code,omitempty"`
	Path        string `json:"path,omitempty"`
	Value       []any  `json:"value,omitempty"`
}

type JSONRequest

type JSONRequest struct {
	Method  string              `json:"method,omitempty"`
	URL     string              `json:"url,omitempty"`
	Headers map[string][]string `json:"headers,omitempty"`
	Body    any                 `json:"body,omitempty"`
	Assert  Assert              `json:"assert,omitempty"`
}

type Module

type Module struct{}

func (*Module) Attr

func (f *Module) Attr(n string) (starlark.Value, error)

func (*Module) AttrNames

func (f *Module) AttrNames() []string

func (*Module) Freeze

func (f *Module) Freeze()

func (*Module) Hash

func (f *Module) Hash() (uint32, error)

func (*Module) String

func (f *Module) String() string

func (*Module) Truth

func (f *Module) Truth() starlark.Bool

func (*Module) Type

func (f *Module) Type() string

type Response

type Response struct {
	Response *http.Response
}

func (*Response) Attr

func (r *Response) Attr(n string) (starlark.Value, error)

func (*Response) AttrNames

func (r *Response) AttrNames() []string

func (*Response) Freeze

func (r *Response) Freeze()

func (*Response) Hash

func (r *Response) Hash() (uint32, error)

func (*Response) String

func (r *Response) String() string

func (*Response) Truth

func (r *Response) Truth() starlark.Bool

func (*Response) Type

func (r *Response) Type() string

Jump to

Keyboard shortcuts

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