requests

package
v0.0.0-...-65f4e2e Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateNote

type CreateNote struct {
	Title   string `form:"title" json:"title,omitempty"`
	Content string `form:"content" json:"content,omitempty" validate:"required"`
	Author  string `form:"author" json:"author,omitempty" validate:"required"`
}

type Login

type Login struct {
	Login    string `form:"login" json:"login,omitempty" validate:"required"`
	Password string `form:"password" json:"password,omitempty" validate:"required"`
}

type Register

type Register struct {
	Name     string `form:"name" json:"name,omitempty" validate:"required"`
	Email    string `form:"email" json:"email,omitempty" validate:"required"`
	Login    string `form:"login" json:"login,omitempty" validate:"required"`
	Password string `form:"password" json:"password,omitempty" validate:"required"`
}

Jump to

Keyboard shortcuts

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