controller

package
Version: v0.0.0-...-b79fb73 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCheckSmsFunc

func GetCheckSmsFunc(service service.Service) echo.HandlerFunc

CheckSms godoc @Summary Check sms @Description Checks sms message delivery status @Produce json @Param id path int true "Message id" @Param phone query string false "Phone number" @Success 200 {object} dto.MessageStatus @Failure 400 "error description" @Router /sms/{id} [get]

func GetSendSmsFunc

func GetSendSmsFunc(srv service.Service) echo.HandlerFunc

SendSms godoc @Summary Send sms @Description Sends sms message to specified phones @Accept json @Produce json @Param sms body dto.Message true "Message" @Success 200 {object} dto.Id @Failure 400 "error description" @Router /sms [post]

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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