platform

package
v0.0.0-...-7862fbb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TRANSACTION_SUCCESS_ENDPOINT = "transaction-success"
)

Variables

View Source
var (
	ErrStatusCodeNotOk = errors.New("status code is not 200")
)

Functions

func Init

func Init()

func TransactionHash

func TransactionHash(transactionHash string, tokenId int64, endPoint string) error

Types

type TransactionSuccessRequest

type TransactionSuccessRequest struct {
	TransactionHash string `json:"transactionHash" binding:"required,len=66"`
	TokenId         int64  `json:"tokenId" binding:"required"`
	EndPoint        string `json:"endPoint" binding:"required"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL