Documentation ¶
Overview ¶
Copyright 2018. bolaxy.org authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func AddAdmin(add string, accountId int) error
- func AddAuth(add, authId []int, userType int, account string) error
- func AysncBlockChainStatus(types int)
- func CancelTemplate(opername, userAccount, name, id string) error
- func CancelTransfer(ApplyerId int, CoinName, Amount, id string, isCancelUser bool) error
- func ChangeNode() error
- func DelAdmin(accountID, id int) error
- func DelAuth(id, accountId, userType int, account string) error
- func FailVerifyTemp(opername, name, id string, creatorId int) error
- func FailVerifyTrans(id, reason string) error
- func SuccessVerifyTemp(name, id string, creatorId int) error
- func SuccessVerifyTrans(id string) error
- func TransferApprovalTimeOut(CoinName, Amount, TransferId string, ApplyerId int) error
- func TransferFail(CoinName, Amount, TransferId string, ApplyerId int) error
- func TransferFailOutOfDate(CoinName, Amount, TransferId string, ApplyerId int) error
- func TransferPartialSuccessful(coinName, amount, orderId string, applyerId int) error
- func TransferSuccess(CoinName, Amount, TransferId string, ApplyerId int) error
- func VoucherFail(msgType, vRes int, tempInfo *db.Template, transApply *db.TransferSend) error
- func VoucherWarn(msgCount, receiverAccId, pageType int, param string) (*db.Message, error)
- type AccountTypeName
- type MessageTitleAndContent
Constants ¶
const ( VoucherRetTempFailMsgType int = iota VoucherRetTransFailMsgType )
const ( ZhMsgFilePath = "./static/lang/message/message_zh.toml" EnMsgFilePath = "./static/lang/message/message_en.toml" MsgAccountTypeTag = "accountType" MsgTitleTag = "title" MsgContentTag = "content" )
Variables ¶
Functions ¶
func CancelTemplate ¶
CancelTemplate send message when disable template
func CancelTransfer ¶
CancelTransfer send message when disable transfer
func FailVerifyTemp ¶
FailVerifyTemp send message when verify template failed
func FailVerifyTrans ¶
FailVerifyTrans send message when verify transfer failed
func SuccessVerifyTemp ¶
SuccessVerifyTemp send message when verify template
func SuccessVerifyTrans ¶
SuccessVerifyTrans send message when verify transfer
func TransferApprovalTimeOut ¶
func TransferFail ¶
TransferFail send message when transfer failed
func TransferFailOutOfDate ¶
TransferFail send message when transfer failed cause out of date
func TransferSuccess ¶
TransferSuccess send message when transfer success
func VoucherFail ¶
发送签名机异常站内信