androidLib

package
v0.0.0-...-8aeb7b2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Separator = "@@@"

Variables

This section is empty.

Functions

func BindProtonAddress

func BindProtonAddress(protonAddr, cipherKey, password string) string

func Consuming

func Consuming()

func CreateAccount

func CreateAccount(password string) string

func CreateEthAccount

func CreateEthAccount(password, directory string) string

func EthBindings

func EthBindings(ETHAddr string) string

func InitConsumer

func InitConsumer(addr, cipher, url, boot, ip, mac, IPs, dbPath string, d ConsumeDelegate) error

func IsProtonAddress

func IsProtonAddress(address string) bool

func LoadEthAddrByProtonAddr

func LoadEthAddrByProtonAddr(protonAddr string) string

func SetupConsumer

func SetupConsumer(password, locAddr string) error

func StopConsuming

func StopConsuming()

func UnbindProtonAddress

func UnbindProtonAddress(protonAddr, cipherKey, password string) string

func VerifyAccount

func VerifyAccount(addr, cipher, password string) bool

func VerifyEthAccount

func VerifyEthAccount(cipherTxt, pwd string) bool

Types

type ConsumeDelegate

type ConsumeDelegate interface {
	GetBootPath() string
}

type VpnDelegate

type VpnDelegate interface {
	tun2Pipe.VpnDelegate
	GetBootPath() string
}

Jump to

Keyboard shortcuts

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