rawrequest

package
v80.2.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package rawrequest provides sending stripe-flavored untyped HTTP calls

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(path string, params *stripe.RawParams) (*stripe.APIResponse, error)

func Get

func Get(path string, params *stripe.RawParams) (*stripe.APIResponse, error)

func Post

func Post(path, content string, params *stripe.RawParams) (*stripe.APIResponse, error)

Types

type Client added in v80.2.0

type Client struct {
	B   stripe.RawRequestBackend
	Key string
}

Client is used to invoke raw requests against the specified backend

func (Client) RawRequest added in v80.2.0

func (c Client) RawRequest(method string, path string, content string, params *stripe.RawParams) (*stripe.APIResponse, error)

Jump to

Keyboard shortcuts

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