openapi

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: MIT Imports: 12 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, accessKeyId, secretAccessKey string) (*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 any) (*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

Jump to

Keyboard shortcuts

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