sdk

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTianditu

func CreateTianditu(config TiandituConfig)

func CreateWechatClient

func CreateWechatClient(config WechatConfig)

Types

type SendEmail

type SendEmail func(code, email string) error

func GetEmailSender

func GetEmailSender() SendEmail

type SendSms

type SendSms func(code, mobile string) error

func GetSmsSender

func GetSmsSender() SendSms

type TiandituConfig

type TiandituConfig struct {
	Key string `json:"key"`
}

type WechatConfig

type WechatConfig struct {
	AppID     string `json:"app_id"`
	AppSecret string `json:"app_secret"`
}

Jump to

Keyboard shortcuts

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