erp

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

View Source
const (
	// RoleSeller seller role name
	RoleSeller = "seller"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	Db       *gorm.DB      `inject:""`
	I18n     *web.I18n     `inject:""`
	Jwt      *auth.Jwt     `inject:""`
	Dao      *auth.Dao     `inject:""`
	Settings *web.Settings `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

Jump to

Keyboard shortcuts

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