client

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	HttpClient *http.Client
}

Client represents an HTTP client

func NewClient

func NewClient() *Client

NewClient creates a new instance of Client

func (*Client) MakeRequest

func (c *Client) MakeRequest(method, url string, payload *sslcommerzEntity.PaymentRequest) ([]byte, error)

MakeRequest sends an HTTP request with the given method, URL, and payload

Jump to

Keyboard shortcuts

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