external

package
v0.0.0-...-026aa9f Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ResponseCode int
	ResponseBody string
)
View Source
var (
	JsonDecodeMethod    string = "json"
	PhpSerializerMethod string = "phpserializer"
)

Functions

This section is empty.

Types

type SendRequestObject

type SendRequestObject struct {
	Name         string
	Logger       *utility.Logger
	Path         string
	Method       string
	Headers      map[string]string
	SuccessCode  int
	Data         interface{}
	DecodeMethod string
	UrlPrefix    string
}

func GetNewSendRequestObject

func GetNewSendRequestObject(logger *utility.Logger, name, path, method, urlPrefix, decodeMethod string, headers map[string]string, successCode int, data interface{}) *SendRequestObject

func (*SendRequestObject) SendRequest

func (r *SendRequestObject) SendRequest(response interface{}) error

Directories

Path Synopsis
thirdparty

Jump to

Keyboard shortcuts

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