e2e

package module
v0.0.0-...-9206383 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONST_AUTH_HEADER = "Authorization"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TestingClient

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

func NewTestingClient

func NewTestingClient(host string) *TestingClient

func (*TestingClient) DO

func (self *TestingClient) DO(method, path string, src, dst interface{}, headers map[string]string) error

func (*TestingClient) GET

func (self *TestingClient) GET(path string, dst interface{}, headers map[string]string) error

func (*TestingClient) POST

func (self *TestingClient) POST(path string, src, dst interface{}, headers map[string]string) error

func (*TestingClient) PUT

func (self *TestingClient) PUT(path string, src, dst interface{}, headers map[string]string) error

Jump to

Keyboard shortcuts

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