requests

package
v0.0.0-...-318ce3a Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 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 AddCommentRequest

type AddCommentRequest struct {
	Content string `json:"content"`
}

type CreatePostRequest

type CreatePostRequest struct {
	Title   string `json:"title"`
	Content string `json:"content"`
}

type SignInRequest

type SignInRequest struct {
	Username string `json:"username" required:"true"`
	Password string `json:"password" required:"true"`
}

type SignUpRequest

type SignUpRequest struct {
	Username string `json:"username" required:"true"`
	Password string `json:"password" required:"true"`
	Nickname string `json:"nickname" required:"true"`
	Email    string `json:"email" required:"true"`
}

Jump to

Keyboard shortcuts

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