donate

package
Version: v0.0.0-...-00e0705 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2018 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	I18n     *i18n.I18n         `inject:""`
	Cache    cache.Cache        `inject:""`
	Jwt      *web.Jwt           `inject:""`
	Dao      *nut.Dao           `inject:""`
	Queue    queue.Queue        `inject:""`
	Settings *settings.Settings `inject:""`
	Security *web.Security      `inject:""`
	Storage  storage.Storage    `inject:""`
	DB       *pg.DB             `inject:""`
	Router   *mux.Router        `inject:""`
	Layout   *nut.Layout        `inject:""`
}

Plugin plugin

func (*Plugin) Init

func (p *Plugin) Init(*inject.Graph) error

Init init beans

func (*Plugin) Mount

func (p *Plugin) Mount() error

Mount register

func (*Plugin) Shell

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

Shell console commands

type Project

type Project struct {
	ID        uint      `json:"id"`
	Title     string    `json:"title"`
	Body      string    `json:"body"`
	Type      string    `json:"type"`
	Methods   string    `json:"methods"`
	UpdatedAt time.Time `json:"updatedAt"`
	CreatedAt time.Time `json:"createdAt"`
	UserID    uint      `json:"userId"`
	User      *nut.User `json:"user"`
	// contains filtered or unexported fields
}

Project project

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL