rules

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rule

type Rule interface {
	Kind()
	Name()
}

Rule 规则接口

type RuleKind

type RuleKind int

RuleKind 规则类型

const (
	RuleHit    RuleKind = 1 << iota // 命中
	RuleCancel                      // 撤回
	RulePassed                      // 成功
	RuleFailed                      // 失败
)
const (
	RuleMiss RuleKind = 0 // 规则未命中
)

Jump to

Keyboard shortcuts

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