utils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package utils 提供可在任意工作目录使用的内置指纹库。

Package utils 提供指纹库的加载入口(默认构建从磁盘 fingerYaml/ 读取)。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEmbeddedFingerYaml

func GetEmbeddedFingerYaml() ([]*finger2.Finger, error)

GetEmbeddedFingerYaml 从嵌入 FS 加载全部指纹规则。

func GetFingerPath

func GetFingerPath() string

GetFingerPath 返回磁盘指纹库目录。

func GetFingerYaml

func GetFingerYaml() ([]*finger2.Finger, error)

GetFingerYaml 从 fingerYaml/ 目录加载全部指纹规则。

Types

This section is empty.

Jump to

Keyboard shortcuts

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