package
1.0.0
Repository: https://github.com/bytom/bystack.git
Documentation: pkg.go.dev

# Functions

AuthHandler access token auth Handler.
FormatErrResp format error response.
NewAPI create and initialize the API.
NewErrorResponse error response.
NewSuccessResponse success response.
RedirectHandler redirect to dashboard handler.

# Constants

FAIL indicated the rpc calling is failed.
SUCCESS indicates the rpc calling is successful.

# Variables

action error.
action error.
action error.
ErrDefault is default Bystack API Error.
pre-define errors for supporting bytom errorFormatter.
pre-define errors for supporting bytom errorFormatter.
pre-define errors for supporting bytom errorFormatter.

# Structs

AccountInfo is request struct for deleteAccount.
AccountPubkey is detail of account pubkey info.
API is the scheduling center for server.
BlockReq is used to handle getBlock req.
BlockTx is the tx struct for getBlock func.
BuildRequest is main struct when building transactions.
ChainStatus indicate chain status.
CheckPasswordResp is response for check key password.
No description provided by the author
DecodeProgResp is response for decode program.
GetBlockHeaderResp is resp struct for getBlockHeader API.
GetBlockResp is the resp for getBlock api.
GetMerkleBlockResp is resp struct for GetTxOutProof API.
GetRawBlockResp is resp struct for getRawBlock API.
MerkleBlockReq is used to handle getTxOutProof req.
NetInfo indicate net information.
PubKeyInfo is structure of pubkey info.
RawTx is the tx struct for getRawTransaction.
ResetPasswordResp is response for reset key password.
Response describes the response standard.
SignMsgResp is response for sign message.
VerifyMsgResp is response for verify message.
No description provided by the author
No description provided by the author
WalletImage hold the ziped wallet data.
WalletInfo return wallet information.

# Interfaces

No description provided by the author

# Type aliases

SortByIndex implements sort.Interface for addressResp slices.