openapi

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AK       string
	SK       string
	RegionID string
}

func (*Config) Apply

func (o *Config) Apply(opts []Option)

type Option

type Option struct {
	F func(o *Config)
}

Option is the only struct that can be used to set Retry Config.

func WithAccessKey

func WithAccessKey(accessKey string) Option

WithAccessKey set WithAccessKey , including the first call.

func WithRegionID

func WithRegionID(regionID string) Option

WithRegionID set WithRegionID , including the first call.

func WithSecretKey

func WithSecretKey(secretKey string) Option

WithSecretKey set WithSecretKey , including the first call.

Jump to

Keyboard shortcuts

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