Documentation ¶
Overview ¶
Copyright © 2024 shynome <shynome@gmail.com>
Index ¶
- func Execute(version string)
- type RemoteLockSystem
- func (ls *RemoteLockSystem) Confirm(now time.Time, name0, name1 string, conditions ...webdav.Condition) (release func(), err error)
- func (ls *RemoteLockSystem) Create(now time.Time, details webdav.LockDetails) (token string, err error)
- func (ls *RemoteLockSystem) Refresh(now time.Time, token string, duration time.Duration) (ld webdav.LockDetails, err error)
- func (ls *RemoteLockSystem) Unlock(now time.Time, token string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RemoteLockSystem ¶
type RemoteLockSystem struct {
// contains filtered or unexported fields
}
func NewRemoteLockSystem ¶
func NewRemoteLockSystem(client *rpc.Client) *RemoteLockSystem
func (*RemoteLockSystem) Create ¶
func (ls *RemoteLockSystem) Create(now time.Time, details webdav.LockDetails) (token string, err error)
Click to show internal directories.
Click to hide internal directories.