helpers

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMultipartFormData

func CreateMultipartFormData(formData map[string]string) (string, io.Reader, error)

func DownloadPng

func DownloadPng(url string) (string, error)

func VerifyPngs

func VerifyPngs(pngPaths []string) error

Types

type HttpRequester added in v0.2.0

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

func New added in v0.2.0

func New(apiKey string) *HttpRequester

func (*HttpRequester) SendHttpRequest added in v0.2.0

func (r *HttpRequester) SendHttpRequest(ctx context.Context, method, url, ct string, data any) ([]byte, error)

Jump to

Keyboard shortcuts

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