sms

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

*

  • File : sms.go
  • Author : Jiang Yitao <jiangyt.cn#gmail.com>
  • Date : 11.08.2019
  • Last Modified Date: 08.09.2019
  • Last Modified By : Jiang Yitao <jiangyt.cn#gmail.com>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllMessages

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

func Routes

func Routes() chi.Router

Types

type SMS

type SMS struct {
	ID        string `json:"id"`
	CMGLID    string `json:"cmgl_id"`
	Mobile    string `json:"mobile"`
	Body      string `json:"body"`
	Status    int    `json:"status"`
	Type      string `json:"type"`
	Retries   int    `json:"retries"`
	Device    string `json:"device"`
	CreatedAt string `json:"created_at"`
	UpdatedAt string `json:"updated_at"`
}

Jump to

Keyboard shortcuts

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