mail

package module
v0.0.0-...-7cc634b Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 5 Imported by: 1

README

mail

Mail resources for https://github.com/ecletus framework

Documentation

Index

Constants

View Source
const ResourceID = "Mail"

Variables

This section is empty.

Functions

func AddMailSubResource

func AddMailSubResource(setup func(res *admin.Resource), res *admin.Resource, value interface{}, fieldName ...string) error

func PrepareMailResource

func PrepareMailResource(res *admin.Resource)

Types

type Mail

type Mail struct {
	aorm.AuditedModel
	Address string `gorm:"size:255"`
	Note    string `gorm:"size:255"`
}

func (*Mail) Stringify

func (p *Mail) Stringify() (s string)

type Plugin

type Plugin struct {
	plug.EventDispatcher
	db.DBNames
	admin_plugin.AdminNames
}

func (*Plugin) OnRegister

func (p *Plugin) OnRegister()

Jump to

Keyboard shortcuts

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