Documentation ¶
Index ¶
- type Client
- func (this Client) AssetFS() (assetfs.Interface, error)
- func (client Client) Delete(path string) error
- func (client Client) Get(path string) (file *os.File, err error)
- func (client Client) GetDynamicURL(scheme, host string, p ...string) (url string)
- func (client Client) GetEndpoint() *oss.Endpoint
- func (client Client) GetURL(p ...string) (url string)
- func (client Client) List(path string) ([]*oss.Object, error)
- func (client Client) MkdirAll(path string) error
- func (client Client) Path(path string) string
- func (client Client) Put(path string, reader io.Reader) (*oss.Object, error)
- func (client Client) ServeHTTP(w http.ResponseWriter, r *http.Request)
- func (client Client) Stat(path string) (info os.FileInfo, notFound bool, err error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (Client) GetDynamicURL ¶
func (Client) GetEndpoint ¶
GetEndpoint get endpoint, FileSystem's endpoint is /
Click to show internal directories.
Click to hide internal directories.