utils

package
v0.0.0-...-d606b87 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AsError error = &AutoSignError{}

AsError 提供外部使用

Functions

func ConvertRodCookies

func ConvertRodCookies(cookies map[string]string, domain string) []*proto.NetworkCookie

ConvertRodCookies 将Cookies转换成rod Cookies

func CreateBrowser

func CreateBrowser(headless bool) *rod.Browser

CreateBrowser create Browser

func GetMd5

func GetMd5(params string) string

GetMd5 通过Md5摘要

Types

type AutoSignError

type AutoSignError struct {
	//Module 模块
	Module string
	// Method 方法
	Method string
	// Message 信息
	Message string
	// E 异常
	E error
}

AutoSignError auto-sign异常

func (AutoSignError) Error

func (e AutoSignError) Error() string

Jump to

Keyboard shortcuts

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