Versions in this module Expand all Collapse all v0 v0.0.1 Nov 28, 2024 Changes in this version + type Addition struct + AppId string + AppSecret string + ExternalMode bool + TenantUrlPrefix string + type Lark struct + func (c *Lark) Config() driver.Config + func (c *Lark) Copy(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) + func (c *Lark) Drop(ctx context.Context) error + func (c *Lark) GetAddition() driver.Additional + func (c *Lark) Init(ctx context.Context) error + func (c *Lark) Link(ctx context.Context, file model.Obj, args model.LinkArgs) (*model.Link, error) + func (c *Lark) List(ctx context.Context, dir model.Obj, args model.ListArgs) ([]model.Obj, error) + func (c *Lark) MakeDir(ctx context.Context, parentDir model.Obj, dirName string) (model.Obj, error) + func (c *Lark) Move(ctx context.Context, srcObj, dstDir model.Obj) (model.Obj, error) + func (c *Lark) Put(ctx context.Context, dstDir model.Obj, stream model.FileStreamer, ...) (model.Obj, error) + func (c *Lark) Remove(ctx context.Context, obj model.Obj) error + func (c *Lark) Rename(ctx context.Context, srcObj model.Obj, newName string) (model.Obj, error) + type TokenCache struct + func (t *TokenCache) Get(_ context.Context, key string) (string, error) + func (t *TokenCache) Set(_ context.Context, key string, value string, expireTime time.Duration) error