openapi

package
v0.4.25 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(endpoint string, optFns ...OptionsFunc) (*Client, error)

func (*Client) DoRequest

func (c *Client) DoRequest(req *resty.Request) (*resty.Response, error)

func (*Client) DoRequestWithResult

func (c *Client) DoRequestWithResult(req *resty.Request, res interface{}) (*resty.Response, error)

func (*Client) NewRequest

func (c *Client) NewRequest(method string, path string) (*resty.Request, error)

func (*Client) SetTimeout

func (c *Client) SetTimeout(timeout time.Duration) *Client

type Options added in v0.4.25

type Options struct {
	AccessKeyId     string
	SecretAccessKey string
}

type OptionsFunc added in v0.4.25

type OptionsFunc func(*Options)

func WithAkSk added in v0.4.25

func WithAkSk(ak, sk string) OptionsFunc

Jump to

Keyboard shortcuts

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