Documentation ¶
Index ¶
- Constants
- func Address() string
- func BPop(timeSince1970 int64, olderThanSince bool, pieceSize int, cb MailCallBack) []byte
- func CName(mailName string) string
- func CalculateHash(mailName string) string
- func ChangeActiveWallet(jsonStr string) bool
- func CloseClient()
- func CloseWallet()
- func DecodeByPin(data string, pinCode []byte) string
- func DecodePin(pinCipher []byte) []byte
- func DecodePinByPeer(pinCipher []byte, fromAddr string) []byte
- func EncodeByPin(data string, pinCode []byte) string
- func EncodePin(pinCode []byte) []byte
- func InitSystem(cb UICallBack, debug bool)
- func LoadWallet(jsonStr string) bool
- func LoadWalletByPath(path string) string
- func MailBcaByMailName(mailName string) string
- func MailID() string
- func MailIcon(mailName string) []byte
- func MailName() string
- func NewStampWallet(auth string) string
- func NewWallet(auth string) string
- func OpenWallet(auth string) bool
- func PinCode() []byte
- func SendMailJson(mailJson string, pinCode []byte, cb MailCallBack) bool
- func SetMailName(mailName string) string
- func StampDetails(stampAddr string) string
- func WalletIsOpen() bool
- func WalletJson() string
- type MailCallBack
- type UICallBack
Constants ¶
View Source
const ( BlockChainQueryUrl = "https://ropsten.infura.io/v3/d64d364124684359ace20feae1f9ac20" BMErrNone = iota BMErrClientInvalid BMErrWalletInvalid BMErrNoSuchBas BMErrInvalidJson BMErrSendFailed BMErrReceiveFailed BMErrMarshFailed )
Variables ¶
This section is empty.
Functions ¶
func BPop ¶
func BPop(timeSince1970 int64, olderThanSince bool, pieceSize int, cb MailCallBack) []byte
func CalculateHash ¶
func ChangeActiveWallet ¶
func CloseClient ¶
func CloseClient()
func CloseWallet ¶
func CloseWallet()
func DecodeByPin ¶
func DecodePinByPeer ¶
func EncodeByPin ¶
func InitSystem ¶
func InitSystem(cb UICallBack, debug bool)
func LoadWallet ¶
func LoadWalletByPath ¶
func MailBcaByMailName ¶
func NewStampWallet ¶
func OpenWallet ¶
func SendMailJson ¶
func SendMailJson(mailJson string, pinCode []byte, cb MailCallBack) bool
func SetMailName ¶
func StampDetails ¶
func WalletIsOpen ¶
func WalletIsOpen() bool
func WalletJson ¶
func WalletJson() string
Types ¶
type MailCallBack ¶
Click to show internal directories.
Click to hide internal directories.