request

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SccessCode               = 0
	ErrorUsernameInvalidCode = 1001
	ErrorPasswordInvalidCode = 1002
	ErrorCreateUserFailed    = 2001
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MultipleInfo added in v0.1.17

type MultipleInfo struct {
	UploadId   string `json:"uploadId"`
	FileName   string `json:"fileName"`
	FileSize   int64  `json:"fileSize"`
	ChunkSize  int64  `json:"chunkSize" binding:"omitempty"`
	ChunkCount int64  `json:"chunkCount"`
	FileSHA1   string `json:"fileSHA1"`
}

type RequestUserInfo

type RequestUserInfo struct {
	Username        string `json:"username"`
	Password        string `json:"password"`
	ConfirmPassword string `json:"confirm_password"`
	Token           string `json:"token"`
}

Jump to

Keyboard shortcuts

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