Documentation
¶
Index ¶
- 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
- type FriendLink
- type LeaveWord
- type Link
- type Notice
- type Plugin
- func (p *Plugin) Atom(lang string) ([]*atom.Entry, error)
- func (p *Plugin) Console() []cli.Command
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCertificate ¶
CreateCertificate create certs
Types ¶
type Card ¶
type Card struct {
web.Model
Loc string `json:"loc"`
Title string `json:"title"`
Summary string `json:"summary"`
Type string `json:"type"`
Href string `json:"href"`
Logo string `json:"logo"`
SortOrder int `json:"sortOrder"`
Action string `json:"action"`
}
Card card
type FriendLink ¶
type FriendLink struct {
web.Model
Title string `json:"title"`
Home string `json:"home"`
Logo string `json:"logo"`
SortOrder int `json:"sortOrder"`
}
FriendLink friend_links
type LeaveWord ¶
type LeaveWord struct {
ID uint `gorm:"primary_key" json:"id"`
CreatedAt time.Time `json:"createdAt"`
Body string `json:"body"`
Type string `json:"type"`
}
LeaveWord leave-word
type Link ¶
type Link struct {
web.Model
Loc string `json:"loc"`
Href string `json:"href"`
Label string `json:"label"`
SortOrder int `json:"sortOrder"`
}
Link link
Click to show internal directories.
Click to hide internal directories.