Documentation ¶
There is no documentation for this package.
Directories ¶
Path | Synopsis |
---|---|
Package api provide support to create /api group
|
Package api provide support to create /api group |
middleware/auth/tokenauth
Package tokenauthmiddleware defines middleware to verify TOKEN configured in env `AUTH_TOKEN`
|
Package tokenauthmiddleware defines middleware to verify TOKEN configured in env `AUTH_TOKEN` |
v1
Package apiv1 provide support to create /v1.0 group and add all routes
|
Package apiv1 provide support to create /v1.0 group and add all routes |
v1/create
Package create provides Api methods to create user wallet and store the mnemonic in database
|
Package create provides Api methods to create user wallet and store the mnemonic in database |
v1/healthcheck
Package healthcheck provides healthcheck Api to check if the app is alive, returns 200 if it is not in crashed state
|
Package healthcheck provides healthcheck Api to check if the app is alive, returns 200 if it is not in crashed state |
v1/transfer
Package transfer provides Api methods to transfer tokens from the wallet to another wallet on same chain
|
Package transfer provides Api methods to transfer tokens from the wallet to another wallet on same chain |
v1/wallet
Package wallet provides Api methods to get user wallet's public key
|
Package wallet provides Api methods to get user wallet's public key |
app
|
|
stage/appinit
Package appinit provides method to Init all stages of app
|
Package appinit provides method to Init all stages of app |
stage/appinit/cosmosinit
Package cosmosinit provides method to Init cosmos config
|
Package cosmosinit provides method to Init cosmos config |
stage/appinit/dbconinit
Package dbconinit provides method to Init database
|
Package dbconinit provides method to Init database |
stage/appinit/dbmigrate
Package dbmigrate provides method to migrate models into database
|
Package dbmigrate provides method to migrate models into database |
stage/appinit/logoinit
Package logoinit provides method to Init loging config
|
Package logoinit provides method to Init loging config |
stage/apprun
Package apprun provides method to Start http server of gin
|
Package apprun provides method to Start http server of gin |
models
|
|
user
Package user provides model, methods and hooks to manage user data
|
Package user provides model, methods and hooks to manage user data |
user/user_methods
Package usermethods provides core methods for user logic
|
Package usermethods provides core methods for user logic |
pkg
|
|
blockchain_cosmos
Package blockchain_cosmos defines methods to manage keys and transactions related to cosmos based chain
|
Package blockchain_cosmos defines methods to manage keys and transactions related to cosmos based chain |
blockchain_cosmos/cosmos_transfer
Package cosmos_transfer provides function to transfer tokens
|
Package cosmos_transfer provides function to transfer tokens |
blockchain_cosmos/wallet_address
Package walletaddress provides method to get wallet address from public key
|
Package walletaddress provides method to get wallet address from public key |
env
Package env provides MustGetEnv to get env
|
Package env provides MustGetEnv to get env |
environment
Package environment provides way to define and get environment
|
Package environment provides way to define and get environment |
errorso
Package errorso provides common error declarations
|
Package errorso provides common error declarations |
store
Package store defines global variables
|
Package store defines global variables |
Click to show internal directories.
Click to hide internal directories.