request

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Overview

Package request is used for internal. You should not depend on it directly, breaking changes can and will be introducted to it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonRequest

type CommonRequest struct {
	Scheme         string
	Method         string
	Domain         string
	RegionId       string
	URL            string
	ReadTimeout    time.Duration
	ConnectTimeout time.Duration

	BodyParams map[string]string

	QueryParams map[string]string
	Headers     map[string]string
	// contains filtered or unexported fields
}

CommonRequest is for requesting credential

func NewCommonRequest

func NewCommonRequest() *CommonRequest

NewCommonRequest returns a CommonRequest

func (*CommonRequest) BuildStringToSign

func (request *CommonRequest) BuildStringToSign() (stringToSign string)

BuildStringToSign returns BuildStringToSign

func (*CommonRequest) BuildURL

func (request *CommonRequest) BuildURL() string

BuildURL returns a url

Jump to

Keyboard shortcuts

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