Documentation ¶
Index ¶
- type Client
- func (c *Client) ClearObject(key string) error
- func (c *Client) Delete(key string) error
- func (c *Client) Get(key string) ([]byte, error)
- func (c *Client) GetJsonObjectByLines(key, expressionSQL string) ([]byte, error)
- func (c *Client) GetObjectList(marker string, maxKeys int) ([]string, error)
- func (c *Client) GetToStruct(key string) (io.ReadCloser, error)
- func (c *Client) IsObjectExist(key string) (bool, error)
- func (c *Client) Put(object Object) error
- type Config
- type Object
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 NewOSSClient ¶
func (*Client) ClearObject ¶
ClearObject 删除权限没有只能对文件晴空
func (*Client) GetJsonObjectByLines ¶
GetJsonObjectByLines 查询 https://github.com/aliyun/aliyun-oss-go-sdk/blob/master/oss/select_json_object_test.go#L97
func (*Client) GetObjectList ¶
GetObjectList 当前 bucket 前缀 下面所有的key max 100 marker 标记,从那个开始 bucket object 有 1,2,3,4,5,6
marker 传了 2
maxKeys 最大返回数量
maxKeys 传了 2
return object [3, 4]
func (*Client) GetToStruct ¶
func (c *Client) GetToStruct(key string) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.