Documentation ¶
Directories ¶
Path | Synopsis |
---|---|
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` |
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 |
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 |
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 |
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 |
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 |
Click to show internal directories.
Click to hide internal directories.