request

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ToolsUploadRequest

type ToolsUploadRequest struct {
	Category string      `json:"category" bind:"query,form" process:"trim,cut(20)"`
	Image    server.File `json:"image"`
}

func (*ToolsUploadRequest) Clear

func (r *ToolsUploadRequest) Clear()

func (*ToolsUploadRequest) Verify

func (r *ToolsUploadRequest) Verify() error

type ToolsUploadResponse

type ToolsUploadResponse struct {
	ID  int64  `json:"id"`
	URL string `json:"url"`
}

Jump to

Keyboard shortcuts

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