Versions in this module Expand all Collapse all v0 v0.9.29 Apr 3, 2019 v0.9.28 Mar 8, 2019 v0.9.27 Oct 18, 2018 Changes in this version + const MB + func SetBasicAuth(username, password string) + func SetTokenAuth(t *Token) + type Acls struct + D bool + R bool + W bool + type Node node.Node + func (n *Node) AclAdd(acl, users string) (err error) + func (n *Node) AclChown(user string) (err error) + func (n *Node) AclRemove(acl, users string) (err error) + func (n *Node) Create(opts Opts) (err error) + func (n *Node) Download(opts Opts) (download io.Reader, err error) + func (n *Node) Get() (err error) + func (n *Node) PP() + func (n *Node) PrettyPrint() + func (n *Node) String() string + func (n *Node) Update(opts Opts) (err error) + func (n *Node) UploadPart(part string, r io.Reader, size int64) (err error) + type OLP struct + Length int64 + Offset int64 + Part int + type Opts map[string]string + func (o *Opts) HasKey(key string) bool + func (o *Opts) Value(key string) string + type Token struct + AccessToken string + ExpiresIn int + UserName string + func OAuthToken(username, password string) (t *Token, err error) + func (t *Token) Delete() (err error) + func (t *Token) ExpiresInDays() int + func (t *Token) Load() (err error) + func (t *Token) Path() (path string) + func (t *Token) Store() (err error) + type Trans struct + Count int + Name string + Parts []OLP + Path string + Size int64 + Url string + func PartionUpload(url string, path string) (t Trans, err error) + type User struct + Expire string + Password string + Token string + Username string + type WAcl struct + Data *acl.Acl + Error *[]string + type WNode struct + Data *Node + Error *[]string + Status int + type Wrapper struct + Data interface{} + Error *[]string