utils

package
v0.0.0-...-6db8c23 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoFill

func AutoFill(ctx context.Context, config models.Config, kdbxPass string)

打开站点,填充账号密码,递归函数,由于chromedp打开新标签需要上一个页面的context,所以使用递归实现遍历站点信息

func CleanScript

func CleanScript()

func DbValidSucc

func DbValidSucc(config models.Config, kdbxPass string)

func GenScript

func GenScript()

生成脚本文件,调用powershell脚本需要传入参数,所以生成临时脚本文件,执行结束后清除

func GetConfig

func GetConfig() (config models.Config)

读取配置文件

func GetEntry

func GetEntry(config models.Config, kdbxPass, entryTitle string) (entry models.Entry)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳