Compare commits

...

3 Commits

3 changed files with 30 additions and 0 deletions

6
config/config.go Normal file
View File

@ -0,0 +1,6 @@
package config
//We define our endpoints here?

View File

@ -0,0 +1,20 @@
package models
import (
"encoding/json"
"time"
)
type trackStatusResponse struct {
Ok bool `json:"ok"`
Result struct {
Transaction struct {
CreatedAt time.Time `json:"createdAt"`
Status string `json:"status"`
TransferValue json.Number `json:"transferValue"`
TxHash string `json:"txHash"`
TxType string `json:"txType"`
}
} `json:"result"`
}

View File

@ -0,0 +1,4 @@
package handlers