Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyExists = errors.New("already exists")
View Source
var ErrApi = errors.New("cloud API call error")
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
func NewUserToken ¶
Types ¶
type Connection ¶
type Connection struct {
// contains filtered or unexported fields
}
func NewConnection ¶
func NewConnection(deviceToken, userToken string) (*Connection, error)
func (*Connection) MkDir ¶
func (s *Connection) MkDir(target string) error
func (*Connection) Put ¶
func (s *Connection) Put(srcName, destDir string) error
Click to show internal directories.
Click to hide internal directories.