handlers

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorMethodNotAllowed  = "method not allowed"
	ErrorUserIdNotProvided = "userId not provided"
	ErrorUserNotProvided   = "user not provided in body"
)

Variables

This section is empty.

Functions

Types

type ErrorBody

type ErrorBody struct {
	ErrorMsg *string `json:"error,omitempty"`
}

type SuccessBody

type SuccessBody struct {
	User *models.User `json:"user,omitempty"`
}

Jump to

Keyboard shortcuts

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