oss

package
v0.7.16 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.7.13

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

func New

func New(c Config) (*Client, error)

func (*Client) PostInfo added in v0.7.13

func (c *Client) PostInfo(dir string) (*policyToken, error)

func (*Client) SignURL added in v0.7.13

func (c *Client) SignURL(key string, cfg SignURLConfig) (*signURLResp, error)

type Config added in v0.7.0

type Config struct {
	Endpoint        string
	BucketName      string
	AccessKeyID     string
	AccessKeySecret string
}

type SignURLConfig added in v0.7.13

type SignURLConfig struct {
	ContentType string
	Callback    string
	CallbackVar string
}

Jump to

Keyboard shortcuts

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