auth

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Invoke

func Invoke(config AkskConfig, request interface{}, response interface{}) (reqeustId string, err error)

func TransferRequestMsg

func TransferRequestMsg(config AkskConfig) model.HttpRequestMsg

Types

type AkskConfig

type AkskConfig struct {
	AccessKey     string
	SecretKey     string
	Protocol      string
	EndPoint      string
	Uri           string
	Method        string
	SignedHeaders string
	CustomHeaders map[string]string //custom headers
}

func NewAkskConfig

func NewAkskConfig(credential common.CredentialIface, httpProfile common.HttpProfileIface, uri string, method string) (config AkskConfig)

Jump to

Keyboard shortcuts

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