delegatereviewcreation

package
v0.0.13-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: GPL-3.0 Imports: 8 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 DelegateReviewCreationPayload

type DelegateReviewCreationPayload struct {
	TransactionHash string `json:"transactionHash"`
}

type DelegateReviewCreationRequest

type DelegateReviewCreationRequest struct {
	Category      string `json:"category" binding:"required"`
	DomainAddress string `json:"domainAddress" binding:"required"`
	SiteUrl       string `json:"siteUrl" binding:"required"`
	SiteType      string `json:"siteType" binding:"required"`
	SiteTag       string `json:"siteTag" binding:"required"`
	SiteSafety    string `json:"siteSafety" binding:"required"`
	MetaDataUri   string `json:"metaDataUri" binding:"required"`
	Voter         string `json:"voter" binding:"required,hexadecimal"`
}

Jump to

Keyboard shortcuts

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