safe

package
v0.9.11 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 1 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lock

type Lock interface {
	Lock()
	Unlock()
}

Lock 代表一个同步锁

type Mode

type Mode interface {
	NewLock() Lock
}

Mode 表示一种安全模式

func Default added in v0.9.4

func Default() Mode

Default 默认模式

func Fast

func Fast() Mode

Fast 返回快速模式

func Safe

func Safe() Mode

Safe 安全模式

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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