Documentation ¶
Index ¶
- func Delete(client *bos.Client, path string) error
- func NewClient(ak, sk string) (*bos.Client, error)
- func Object(client *bos.Client, path string) (*api.GetObjectResult, error)
- func UploadByte(client *bos.Client, path string, data []byte) error
- func UploadFile(client *bos.Client, path string, fpath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
NewClient creates a new bos client. Use Application Default Credentials if serviceAccount is empty.
func UploadByte ¶
UploadByte create object for the given data
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.