controllers

package
v0.0.0-...-7cf6ef0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

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.

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.

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.

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.

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.

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.

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.

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.

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

This section is empty.

Variables

This section is empty.

Functions

func AccountDetail

func AccountDetail(ctx *gin.Context)

AccountDetail shows the detail of the address information by given currency id

func ActiveRecovery

func ActiveRecovery(ctx *gin.Context)

ActiveRecovery Activate owner

func AddAdmin

func AddAdmin(ctx *gin.Context)

AddAdmin add a new manager

func AddAuthToAccount

func AddAuthToAccount(ctx *gin.Context)

AddAuthToAccount used to adds a new auth right

func AddChildAccount

func AddChildAccount(ctx *gin.Context)

AddChildAccount used to create a new child account of the given account

func AddCoin

func AddCoin(ctx *gin.Context)

AddCoin used to adds one coin to the list

func AddDepartment

func AddDepartment(ctx *gin.Context)

AddDepartment used to add a new department

func AddressList

func AddressList(ctx *gin.Context)

AddressList lists the information of all the address

func AddressTopTen

func AddressTopTen(ctx *gin.Context)

AddressTopTen shows the top 10 rich address

func Apply

func Apply(ctx *gin.Context)

Apply employee apply for transfer

func AuthAccounts

func AuthAccounts(ctx *gin.Context)

AuthAccounts gets the member list by auth right

func AuthList

func AuthList(ctx *gin.Context)

AuthList gets the auth rights list.

func BackupKey

func BackupKey(ctx *gin.Context)

BackupKey used to backup the key words to BOX KEY

func BatchList

func BatchList(ctx *gin.Context)

BatchList list the transfer to approval

func BatchVerify

func BatchVerify(ctx *gin.Context)

BatchVerify batch approval the transfer

func Cancel

func Cancel(ctx *gin.Context)

Cancel cancel the transfer by applyer

func CancelTemplate

func CancelTemplate(ctx *gin.Context)

CancelTemplate disable one template flow

func ChildStatistical

func ChildStatistical(ctx *gin.Context)

ChildStatistical statistics the number of the child address of each currency

func CoinBalance

func CoinBalance(ctx *gin.Context)

CoinBalance used to get the balance of each coin

func CoinList

func CoinList(ctx *gin.Context)

CoinList used to get the coin list which the system now supports

func CoinStauts

func CoinStauts(ctx *gin.Context)

CoinStauts used to enable/disable one coin

func CommandCommit

func CommandCommit(ctx *gin.Context)

CommandCommit used to submit the key words to voucher

func ContractAddr

func ContractAddr(ctx *gin.Context)

ContractAddr used to get the contract address from voucher

func CountAllChild

func CountAllChild(ctx *gin.Context)

CountAllChild counts the balance and number of each child of each currency

func CreateTemplate

func CreateTemplate(ctx *gin.Context)

CreateTemplate create a new template flow

func DelAdmin

func DelAdmin(ctx *gin.Context)

DelAdmin deprivation the account's admin right

func DelAuthFromAccount

func DelAuthFromAccount(ctx *gin.Context)

DelAuthFromAccount used to cancel the auth right from the account

func DelDepartment

func DelDepartment(ctx *gin.Context)

DelDepartment used to delete a department

func DelayTaskNum

func DelayTaskNum(ctx *gin.Context)

DelayTaskNum count To-do list

func DepartmentAccounts

func DepartmentAccounts(ctx *gin.Context)

DepartmentAccounts used to get the member of one department

func DepartmentList

func DepartmentList(ctx *gin.Context)

DepartmentList used to get the list of the departments

func DisableAcc

func DisableAcc(ctx *gin.Context)

DisableAcc froze an account

func EditDepartment

func EditDepartment(ctx *gin.Context)

EditDepartment used to edit the department info

func FindApplyById

func FindApplyById(ctx *gin.Context)

FindApplyById get the detail info of a transfer order by id

func FindApplyList

func FindApplyList(ctx *gin.Context)

FindApplyList get the list of transfer

func FindApplyLog

func FindApplyLog(ctx *gin.Context)

FindApplyLog get the log of transfer

func FindTemplateById

func FindTemplateById(ctx *gin.Context)

FindTemplateById get the template flow info by id

func FindTranfersById

func FindTranfersById(ctx *gin.Context)

FindTranfersById app获取转账信息

func FindUserStatus

func FindUserStatus(ctx *gin.Context)

FindUserStatus get the account status

func GenContractAddr

func GenContractAddr(ctx *gin.Context)

GenContractAddr used to apply for the contract from contract

func GetAccountsByType

func GetAccountsByType(ctx *gin.Context)

GetAccountsByType get the accounts info by user type

func GetAllUsers

func GetAllUsers(ctx *gin.Context)

GetAllUsers get all members

func GetBlockHeight

func GetBlockHeight(ctx *gin.Context)

GetBlockHeight get the current block height info of the system

func GetCoins

func GetCoins(ctx *gin.Context)

GetCoins get the list of coins

func GetCommitStatus

func GetCommitStatus(ctx *gin.Context)

func GetConnectStatus

func GetConnectStatus(ctx *gin.Context)

GetConnectStatus get the connection status of voucher

func GetLogs

func GetLogs(ctx *gin.Context)

GetLogs get log info

func GetMasterAddress

func GetMasterAddress(ctx *gin.Context)

GetMasterAddress get the master address

func GetOtherPubKey

func GetOtherPubKey(ctx *gin.Context)

GetOtherPubKey used to get other owner's pubkeys

func GetPubKeys

func GetPubKeys(ctx *gin.Context)

GetPubKeys get the subordinates' signed pubkey info

func GetRegList

func GetRegList(ctx *gin.Context)

GetRegList get the registration list

func GetStatus

func GetStatus(ctx *gin.Context)

GetStatus shows the status of the voucher

func GetTemplate

func GetTemplate(ctx *gin.Context)

GetTemplate get the list of template flow

func GetTemplatebyHash

func GetTemplatebyHash(ctx *gin.Context)

GetTemplatebyHash get the template info by flow hash

func GetToken

func GetToken(ctx *gin.Context)

GetToken owner get token

func GetUserByID

func GetUserByID(ctx *gin.Context)

GetUserByID get account info by id

func GetVersion

func GetVersion(ctx *gin.Context)

GetVersion get the api version

func GetWebRouter

func GetWebRouter(ctx *gin.Context)

GetWebRouter 获取web转账网页路径

func HasRecovery

func HasRecovery(ctx *gin.Context)

HasRecovery check the recover apply form the owner

func InsideLetter

func InsideLetter(ctx *gin.Context)

InsideLetter Station letter

func Login

func Login(ctx *gin.Context)

Login

func MergeAccount

func MergeAccount(ctx *gin.Context)

MergeAccount used to consolidate account balance to master address

func ModifyPassword

func ModifyPassword(ctx *gin.Context)

ModifyPassword change the password to log in

func OperateKeyExchange

func OperateKeyExchange(ctx *gin.Context)

OperateKeyExchange exchange the key to voucher

func QRcode

func QRcode(ctx *gin.Context)

QRcode used to get the deposit address

func QrCommit

func QrCommit(ctx *gin.Context)

QrCommit used to confirm the registration

func ReSignUp

func ReSignUp(ctx *gin.Context)

ReSignUp re-registration

func ReadLetter

func ReadLetter(ctx *gin.Context)

ReadLetter Save reading history

func RecoveryList

func RecoveryList(ctx *gin.Context)

RecoveryList list of accounts to recover

func RecoveryOwner

func RecoveryOwner(ctx *gin.Context)

RecoveryOwner recover a owner account

func RecoveryResult

func RecoveryResult(ctx *gin.Context)

RecoveryResult get the result of verifaction

func ResetRecovery

func ResetRecovery(ctx *gin.Context)

ResetRecovery re-registration

func SaveMasterAddress

func SaveMasterAddress(ctx *gin.Context)

SaveMasterAddress save the signed master address form owner

func SavePubkeySign

func SavePubkeySign(ctx *gin.Context)

SavePubkeySign save the sign info of pubkey

func Scan

func Scan(ctx *gin.Context)

Scan Superior submit the registration

func SetTag

func SetTag(ctx *gin.Context)

SetTag used to set tag for the given address

func SetUser

func SetUser(ctx *gin.Context)

SetUser update account info

func Signup

func Signup(ctx *gin.Context)

Signup registrat a new account

func SortDep

func SortDep(ctx *gin.Context)

SortDep used to sort all the departments

func StartVoucher

func StartVoucher(ctx *gin.Context)

StartVoucher used to start the service of voucher

func Statistical

func Statistical(ctx *gin.Context)

Statistical statistics the number of address of the system

func StopVoucher

func StopVoucher(ctx *gin.Context)

StopVoucher used to stop the service of voucher

func SubRecovery

func SubRecovery(ctx *gin.Context)

SubRecovery submit the recover apply

func TempStatistics

func TempStatistics(ctx *gin.Context)

TempStatistics get template info by related accounts

func TemplateList

func TemplateList(ctx *gin.Context)

TemplateList get the template flow list

func TokenList

func TokenList(ctx *gin.Context)

TokenList lists the token info of the given address

func TokenRecord

func TokenRecord(ctx *gin.Context)

TokenRecord shows the token transfer record of the given address

func TransferCommit

func TransferCommit(ctx *gin.Context)

TransferCommit web提交转账

func TransferRecord

func TransferRecord(ctx *gin.Context)

TransferRecord shows the transfer record of the given account

func TxNumByTemplate

func TxNumByTemplate(ctx *gin.Context)

TempStatistics counts the related transfer number by template

func UserTree

func UserTree(ctx *gin.Context)

UserTree get the Organizational structure

func Verify

func Verify(ctx *gin.Context)

Verify approval the transfer

func VerifyAddress

func VerifyAddress(ctx *gin.Context)

VerifyAddress used to verify the given address.

func VerifyPassword

func VerifyPassword() gin.HandlerFunc

VerifyPassword Check password

func VerifyPwd

func VerifyPwd(ctx *gin.Context)

VerifyPwd verify the account

func VerifyRecovery

func VerifyRecovery(ctx *gin.Context)

VerifyRecovery check the owner account recovered

func VerifyTemplate

func VerifyTemplate(ctx *gin.Context)

VerifyTemplate owner approval the template flow

func VerifyUser

func VerifyUser(ctx *gin.Context)

VerifyUser Superior approval the registration

Types

This section is empty.

Jump to

Keyboard shortcuts

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