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/paseto
Package pasetomiddleware defines middleware to verify PASETO token with required claims
|
Package pasetomiddleware defines middleware to verify PASETO token with required claims |
v1/authenticate
Package authenticate provides Api to authenticate user wallet address by verifying signature agaist EULA and flowid
|
Package authenticate provides Api to authenticate user wallet address by verifying signature agaist EULA and flowid |
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 |
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/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
|
|
flowid
Package flowid provides model and methods for storing and retriving flowid for wallet address
|
Package flowid provides model and methods for storing and retriving flowid for wallet address |
user
Package user provides model and methods for storing and retriving user identified by wallet address
|
Package user provides model and methods for storing and retriving user identified by wallet address |
pkg
|
|
cosmos_blockchain/arbitrary_verify
Package arbitraryverify provides methods to verify signatures signed with Arbitrary message
|
Package arbitraryverify provides methods to verify signatures signed with Arbitrary message |
cosmos_blockchain/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 |
paseto
Package paseto provides methods to generate and verify paseto tokens
|
Package paseto provides methods to generate and verify paseto tokens |
paseto/paseto_claims
Package pasetoclaims provides claim declaration for token generation and verification
|
Package pasetoclaims provides claim declaration for token generation and verification |
store
Package store defines global variables
|
Package store defines global variables |
Click to show internal directories.
Click to hide internal directories.