handler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCheckTermHandler

func NewCheckTermHandler(w http.ResponseWriter, r *http.Request)

@Summary Checar termos de marca @Description Faça a checagem de termos de marca nos resultados de pesquisa do Google. @Tags v1, Termos @Accept json @Produce json @Param request body CheckTermBody true "Corpo da requisição" @Success 200 @Router /v1/check-term [POST]

Types

type CheckTermBody

type CheckTermBody struct {
	Email  string   `json:"email" validate:"required,email" example:"email@example.com" errormgs:"Email inválido"`
	Termos []string `json:"termos" validate:"required" example:"Term One,Term Two" errormgs:"Termos inválidos"`

} // @name ChecarTermoBody

Jump to

Keyboard shortcuts

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