helper

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleHTTPResponse

func HandleHTTPResponse(target string, resp *http.Response, err error)

HandleHTTPResponse Logs Error or Success messages

Types

type S3Client added in v1.9.0

type S3Client interface {
	Upload(body *bytes.Buffer, key string) error
}

func NewClient added in v1.9.0

func NewClient(accessKeyID, secretAccessKey, region, endpoint, bucket string) S3Client

NewClient creates a new Yandex.client to send Results to S3. It doesnt' work right now

Jump to

Keyboard shortcuts

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