lock

package
v3.1.77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(params files_sdk.LockCreateParams, opts ...files_sdk.RequestResponseOption) (lock files_sdk.Lock, err error)

func Delete

func Delete(params files_sdk.LockDeleteParams, opts ...files_sdk.RequestResponseOption) (err error)

Types

type Client

type Client struct {
	files_sdk.Config
}

func (*Client) Create

func (c *Client) Create(params files_sdk.LockCreateParams, opts ...files_sdk.RequestResponseOption) (lock files_sdk.Lock, err error)

func (*Client) Delete

func (c *Client) Delete(params files_sdk.LockDeleteParams, opts ...files_sdk.RequestResponseOption) (err error)

func (*Client) ListFor

type Iter

type Iter struct {
	*files_sdk.Iter
	*Client
}

func (*Iter) Iterate

func (i *Iter) Iterate(identifier interface{}, opts ...files_sdk.RequestResponseOption) (files_sdk.IterI, error)

func (*Iter) Lock

func (i *Iter) Lock() files_sdk.Lock

func (*Iter) Reload

func (i *Iter) Reload(opts ...files_sdk.RequestResponseOption) files_sdk.IterI

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL