Documentation ¶
Index ¶
- Constants
- func BindProtonAddress(protonAddr, cipherKey, password string) string
- func Consuming()
- func CreateAccount(password string) string
- func CreateEthAccount(password, directory string) string
- func EthBindings(ETHAddr string) string
- func InitConsumer(addr, cipher, url, boot, ip, mac, IPs, dbPath string, d ConsumeDelegate) error
- func IsProtonAddress(address string) bool
- func LoadEthAddrByProtonAddr(protonAddr string) string
- func SetupConsumer(password, locAddr string) error
- func StopConsuming()
- func UnbindProtonAddress(protonAddr, cipherKey, password string) string
- func VerifyAccount(addr, cipher, password string) bool
- func VerifyEthAccount(cipherTxt, pwd string) bool
- type ConsumeDelegate
- type VpnDelegate
Constants ¶
View Source
const Separator = "@@@"
Variables ¶
This section is empty.
Functions ¶
func BindProtonAddress ¶
func CreateAccount ¶
func CreateEthAccount ¶
func EthBindings ¶
func InitConsumer ¶
func InitConsumer(addr, cipher, url, boot, ip, mac, IPs, dbPath string, d ConsumeDelegate) error
func IsProtonAddress ¶
func LoadEthAddrByProtonAddr ¶
func SetupConsumer ¶
func StopConsuming ¶
func StopConsuming()
func UnbindProtonAddress ¶
func VerifyAccount ¶
func VerifyEthAccount ¶
Types ¶
type ConsumeDelegate ¶
type ConsumeDelegate interface {
GetBootPath() string
}
type VpnDelegate ¶
type VpnDelegate interface { tun2Pipe.VpnDelegate GetBootPath() string }
Click to show internal directories.
Click to hide internal directories.