Back to godoc.org

Package controller

v0.0.0-...-2a7871a
Latest Go to latest

The highest tagged major version is .

Published: May 13, 2020 | License: Apache-2.0 | Module: github.com/dilshat/sms-sender

Index

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