remindmetools

package
v0.0.0-...-b92253b Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CONFPATH = "conf"
)

Variables

This section is empty.

Functions

func CheckTasks

func CheckTasks(db *DB, mailcore func(ac, pwd, title, body, to string) bool)

func New

func New(u string, p string) mail

初始化用户名和密码

func ReadConfPlus

func ReadConfPlus(parent string, args []string, filepath string) map[string]string

READ CONF FILE from path

func Readpwd

func Readpwd(mail string) string

func Reminde

func Reminde(cmd string, db *DB)

func SendMail

func SendMail(value *remindthing, db *DB, mailcore func(ac, pwd, title, body, to string) bool)

func SetReminder

func SetReminder(omail string, tmail string)

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

func (*DB) SetDB

func (s *DB) SetDB(host string, port int, usr string, pwd string, db string)

type Task

type Task struct {
	// contains filtered or unexported fields
}

func Found

func Found(value string, db *DB) *Task

Jump to

Keyboard shortcuts

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