dtos

package
v0.0.0-...-f45fc59 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blog

type Blog struct {
	Title      string `json:"title"`
	Content    string `json:"content"`
	SubHeading string `json:"subheading"`
	Tags       string `json:"tags"`
}

type MintBlog

type MintBlog struct {
	Blog
	Copies int `json:"copies"`
}

func (*MintBlog) HandleRequest

func (blog *MintBlog) HandleRequest(c *gin.Context) (string, error)
type Sponsor struct {
	ProfileAddress string `json:"profile_address"`
}

func (Sponsor) HandleRequest

func (sponsor Sponsor) HandleRequest(c *gin.Context) (string, error)

Jump to

Keyboard shortcuts

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