Documentation ¶
Index ¶
- type Client
- func (c *Client) GetFile(folder, name string) ([]byte, *[16]byte, error)
- func (c *Client) GetSecureFile(folder, name string) ([]byte, *[16]byte, error)
- func (c *Client) IsFileExist(folder, name string) (bool, *[16]byte, error)
- func (c *Client) IsSecureFileExist(folder, name string) (bool, *[16]byte, error)
- func (c *Client) ListFiles(folder string) (m map[string][16]byte, err error)
- func (c *Client) ListSecureFiles(folder string) (m map[string][16]byte, err error)
- func (c *Client) SetFile(folder, name string, data []byte) error
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 (*Client) GetSecureFile ¶
GetSecureFile return data, md5, error
func (*Client) IsFileExist ¶
IsFileExist return status, md5, error
func (*Client) IsSecureFileExist ¶
IsSecureFileExist return status, md5, error
func (*Client) ListSecureFiles ¶
ListSecureFiles return map[name]md5, error
Click to show internal directories.
Click to hide internal directories.