common

package
v0.0.0-...-4788795 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2016 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB
View Source
var IPSendSMS = map[string]string{}
View Source
var SMSVerCodes = map[string]SMSVerCode{}

Functions

func MyHandler

func MyHandler() tango.HandlerFunc

Types

type Data

type Data struct {
	Status bool
	Mesg   string
	// ErrorMesg string
	Data interface{}
}

func ReturnMesg

func ReturnMesg(status bool, mesg string, data interface{}) Data

type SMSVerCode

type SMSVerCode struct {
	Phone         string
	Code          string
	EffectiveTime time.Time
	FailureTime   time.Time
}

Jump to

Keyboard shortcuts

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