Versions in this module Expand all Collapse all v0 v0.0.1 May 7, 2017 Changes in this version + func CreateCertificate(ca bool, subject pkix.Name, years int) ([]byte, []byte, error) + func WritePemFile(file, _type string, buf []byte, mode os.FileMode) error + type Card struct + Action string + Href string + Loc string + Logo string + SortOrder int + Summary string + Title string + func (Card) TableName() string + type FriendLink struct + Home string + Logo string + SortOrder int + Title string + func (FriendLink) TableName() string + type LeaveWord struct + Body string + CreatedAt time.Time + ID uint + Type string + func (LeaveWord) TableName() string + type Link struct + Href string + Label string + Loc string + SortOrder int + func (Link) TableName() string + type Notice struct + func (Notice) TableName() string + type Plugin struct + Cache *cache.Cache + Dao *auth.Dao + Db *gorm.DB + I18n *i18n.I18n + Jwt *auth.Jwt + Render *render.Render + Server *job.Server + Settings *settings.Settings + Wrap *web.Wrap + func (p *Plugin) Atom(lang string) ([]*atom.Entry, error) + func (p *Plugin) Console() []cli.Command + func (p *Plugin) Dashboard(c *gin.Context) []*widgets.Dropdown + func (p *Plugin) Init() + func (p *Plugin) Mount(rt *gin.Engine) + func (p *Plugin) Open(g *inject.Graph) error + func (p *Plugin) Sitemap() ([]stm.URL, error) + func (p *Plugin) Workers() map[string]job.Handler + type Post struct + Name string + Title string + func (Post) TableName() string