Documentation ¶
Overview ¶
Package service is the "business logic" layer, encapsulates transaction.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Archive = &archiveService{ mutex: &sync.Mutex{}, }
View Source
var Article = &articleService{ mutex: &sync.Mutex{}, }
View Source
var Category = &categoryService{ mutex: &sync.Mutex{}, }
View Source
var Comment = &commentService{ mutex: &sync.Mutex{}, }
View Source
var Export = &exportService{}
View Source
var Import = &importService{}
View Source
var Init = &initService{ mutex: &sync.Mutex{}, }
View Source
sync.Mutex{}, }mutex: &
View Source
var Setting = &settingService{ mutex: &sync.Mutex{}, }
View Source
var Statistic = &statisticService{ mutex: &sync.Mutex{}, }
View Source
var Tag = &tagService{ mutex: &sync.Mutex{}, }
View Source
var Upgrade = &upgradeService{ mutex: &sync.Mutex{}, }
View Source
var User = &userService{ mutex: &sync.Mutex{}, }
Functions ¶
func DisconnectDB ¶
func DisconnectDB()
Types ¶
type MarkdownFile ¶
type PlatformStatus ¶
Click to show internal directories.
Click to hide internal directories.