aliyun

package
v1.20.1 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoTraceBehavioral

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

func New

func New(opts ...Option) *NoTraceBehavioral

func (*NoTraceBehavioral) Init

func (b *NoTraceBehavioral) Init() error

func (*NoTraceBehavioral) Provide

func (b *NoTraceBehavioral) Provide(ctx context.Context) interface{}

func (*NoTraceBehavioral) Verify

func (b *NoTraceBehavioral) Verify(ip, data string) (string, error)

type Option

type Option func(*Options)

func WithAccessKeyId

func WithAccessKeyId(keyId string) Option

func WithAccessKeySecret

func WithAccessKeySecret(secret string) Option

func WithRegionId

func WithRegionId(regionId string) Option

type Options

type Options struct {
	AccessKeyId     string
	AccessKeySecret string
	RegionId        string
}

Jump to

Keyboard shortcuts

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