support

package
v0.0.0-...-e60a4f5 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKeys

func CreateKeys(publicKeyWriter, privateKeyWriter io.Writer, keyLength int) error

func GetNodeAttrValue

func GetNodeAttrValue(n *html.Node, attrName string) string

func HtmlParse

func HtmlParse(htmlContent string) (*html.Node, error)

func HtmlParseFindById

func HtmlParseFindById(doc *html.Node, elementId string) *html.Node

func HtmlParseFindByName

func HtmlParseFindByName(doc *html.Node, elementName string) *html.Node

func HtmlParseFindByType

func HtmlParseFindByType(doc *html.Node, elementType string) *html.Node

func IsValidHtml

func IsValidHtml(htmlContent string) bool

func NodeToString

func NodeToString(n *html.Node) string

func RsaDecrypt

func RsaDecrypt(ciphertext []byte, privKey []byte) ([]byte, error)

func RsaEncrypt

func RsaEncrypt(ciphertext []byte, pubKey []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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