LockSystem
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.golang.org.x.net.webdav
- Platforms: .NET, .NET Standard 2.0, Island
Required Methods
Confirm
method Confirm(now: Time; name0: string; name1: string; params conditions: array of Condition): tuple of (release: Action, err: error)
(Action release, error err) Confirm(Time now, string name0, string name1, params Condition[] conditions)
func Confirm(_ now: Time, _ name0: string, _ name1: string, _ conditions: Condition...) -> (release:Action, error)
Parameters:
- now:
- name0:
- name1:
- conditions:
Create
method Create(now: Time; details: LockDetails): tuple of (token: string, err: error)
(string token, error err) Create(Time now, LockDetails details)
func Create(_ now: Time, _ details: LockDetails) -> (string, error)
func Create(now Time, details LockDetails) tuple of (|name=token| string, |name=err| error)
Function Create(now As Time, details As LockDetails) As Tuple (Of string, error)
Parameters:
- now:
- details:
Refresh
method Refresh(now: Time; token: string; duration: Duration): tuple of (LockDetails, error)
(LockDetails, error) Refresh(Time now, string token, Duration duration)
func Refresh(_ now: Time, _ token: string, _ duration: Duration) -> (LockDetails, error)
func Refresh(now Time, token string, duration Duration) tuple of (LockDetails, error)
Function Refresh(now As Time, token As string, duration As Duration) As Tuple (Of LockDetails, error)
Parameters:
- now:
- token:
- duration:
Unlock
Parameters:
- now:
- token: