response

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseError

type BaseError struct {
	Data  struct{} `json:"data"`
	Error bool     `json:"error" example:"true"`
	// contains filtered or unexported fields
}

type CreatePost

type CreatePost struct {
	Data newPostDataWrapper `json:"data"`
	// contains filtered or unexported fields
}

type GetUserInfo

type GetUserInfo struct {
	Data getUserInfoWrapper `json:"data"`
	// contains filtered or unexported fields
}

type GetUserPosts

type GetUserPosts struct {
	Data allPostsDataWrapper `json:"data"`
	// contains filtered or unexported fields
}

type LoginUser

type LoginUser struct {
	Data loginUserData `json:"data"`
	// contains filtered or unexported fields
}

type RegisterUser

type RegisterUser struct {
	Data registerUserData `json:"data"`
	// contains filtered or unexported fields
}

type UnauthorizedError

type UnauthorizedError struct {
	BaseError
	Message string `json:"message" example:"unauthorized"`
}

type ValidationError

type ValidationError struct {
	BaseError
	Data validationErrorWrapper `json:"data"`
}

Jump to

Keyboard shortcuts

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