isowner

package
v0.0.0-...-2023e6a Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyRoutes

func ApplyRoutes(r *gin.RouterGroup)

ApplyRoutes applies router to gin Router

Types

type IsOwnerPayload

type IsOwnerPayload struct {
	IsOwner bool `json:"isOwner" binding:"required"`
}

type IsOwnerRequest

type IsOwnerRequest struct {
	UserId          string `json:"userId" binding:"required"`
	TokenId         int64  `json:"tokenId" binding:"required"`
	ContractAddress string `json:"contractAddress" binding:"required"`
}

Jump to

Keyboard shortcuts

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