ab

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: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mode

type Mode interface {
	safe.Mode

	UseModeA() // 切换到 A 模式
	UseModeB() // 切换到 B 模式
}

Mode 是双状态(A-B)安全模式

func New

func New(a, b safe.Mode) Mode

New 新建一个 A-B 模式上下文

Jump to

Keyboard shortcuts

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