mail

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2017 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alias added in v0.4.1

type Alias struct {
	web.Model
	Source      string
	Destination string
	DomainID    uint
	Domain      Domain
}

Alias alias

func (Alias) TableName added in v0.4.1

func (Alias) TableName() string

TableName table name

type Domain added in v0.4.1

type Domain struct {
	web.Model
	Name string
}

Domain domain

func (Domain) TableName added in v0.4.1

func (Domain) TableName() string

TableName table name

type Engine

type Engine struct {
	Db   *gorm.DB  `inject:""`
	I18n *web.I18n `inject:""`
	Jwt  *auth.Jwt `inject:""`
}

Engine engine

func (*Engine) Atom

func (p *Engine) Atom(lang string) ([]*atom.Entry, error)

Atom rss.atom

func (*Engine) Mount

func (p *Engine) Mount(rt *gin.Engine)

Mount web mount-points

func (*Engine) RegisterWorker

func (p *Engine) RegisterWorker()

RegisterWorker register worker

func (*Engine) Shell

func (p *Engine) Shell() []cli.Command

Shell shell commands

func (*Engine) Sitemap

func (p *Engine) Sitemap() ([]stm.URL, error)

Sitemap sitemap.xml.gz

type User added in v0.4.1

type User struct {
	web.Model
	FullName string
	Email    string
	Password string
	DomainID uint
	Enable   bool
	Domain   Domain
}

User user

func (*User) ChkPassword added in v0.4.1

func (p *User) ChkPassword(password string) bool

ChkPassword check password

func (*User) SetPassword added in v0.4.1

func (p *User) SetPassword(password string) error

SetPassword set password (SSHA512-CRYPT)

func (User) TableName added in v0.4.1

func (User) TableName() string

TableName table name

Jump to

Keyboard shortcuts

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