Back to

Package controller

Latest Go to latest

The highest tagged major version is .

Published: May 13, 2020 | License: Apache-2.0 | Module:


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]

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier