rhythm

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package rhythm 生成并描述一个账户在官网页面上点击与粘贴时各组可信事件之间的间隔

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Duration

func Duration(milliseconds float64) time.Duration

Duration 返回毫秒间隔对应的时长

Types

type Rhythm

type Rhythm struct {
	// Press 是指针移到按钮到按下
	Press float64 `json:"press"`
	// Hold 是按下到抬起
	Hold float64 `json:"hold"`
	// Proof 是 click 到页面应用为 GenerateContent 取 proof
	Proof float64 `json:"proof"`
	// Control 是按下 Control 到按下 V
	Control float64 `json:"control"`
	// Key 是按下 V 到抬起 V
	Key float64 `json:"key"`
	// Release 是抬起 V 到抬起 Control
	Release float64 `json:"release"`
}

Rhythm 是一个账户在官网页面上点击与粘贴时各组可信事件之间的毫秒间隔

func New

func New() Rhythm

New 为一个账户生成一套节奏:每个间隔取官网现场的一个值加上 ±1.5 ms 的均匀抖动,限制在现场的最小与最大值之间

Jump to

Keyboard shortcuts

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