engine

package
v2.3.6 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// CryptoEngine represents the default crypto engine
	CryptoEngine = opencrypto.TjfocGM

	//IsTls this flag is used to skip p2p tls, because p2p tls use the tjfoc, should be refactor! TODO
	IsTls = false
)

Functions

func InitCryptoEngine

func InitCryptoEngine(eng string, tls bool)

InitCryptoEngine used to set the initial crypto engine

Types

This section is empty.

Jump to

Keyboard shortcuts

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