Documentation ¶
Index ¶
- Constants
- Variables
- func NewAdminCommand(app *ArtalkCmd) *cobra.Command
- func NewConfigCommand() *cobra.Command
- func NewExportCommand(app *ArtalkCmd) *cobra.Command
- func NewGenCommand() *cobra.Command
- func NewImportCommand(app *ArtalkCmd) *cobra.Command
- func NewServeCommand(app *ArtalkCmd) *cobra.Command
- func NewUpgradeCommand() *cobra.Command
- func NewVersionCommand() *cobra.Command
- type ArtalkCmd
Constants ¶
View Source
const ( MODE_FULL_BOOT = "FULL_BOOT" MODE_MINI_BOOT = "MINI_BOOT" )
View Source
const BootModeKey = "BootMode"
Variables ¶
View Source
var Banner = ` ________ ________ _________ ________ ___ ___ __ |\ __ \|\ __ \|\___ ___\\ __ \|\ \ |\ \|\ \ \ \ \|\ \ \ \|\ \|___ \ \_\ \ \|\ \ \ \ \ \ \/ /|_ \ \ __ \ \ _ _\ \ \ \ \ \ __ \ \ \ \ \ ___ \ \ \ \ \ \ \ \\ \| \ \ \ \ \ \ \ \ \ \____\ \ \\ \ \ \ \__\ \__\ \__\\ _\ \ \__\ \ \__\ \__\ \_______\ \__\\ \__\ \|__|\|__|\|__|\|__| \|__| \|__|\|__|\|_______|\|__| \|__| Artalk (` + Version + `) -> A Self-hosted Comment System. -> https://artalk.js.org `
View Source
var Version = config.Version + `/` + config.CommitHash
Functions ¶
func NewAdminCommand ¶
func NewConfigCommand ¶
func NewExportCommand ¶
func NewGenCommand ¶
func NewImportCommand ¶
func NewServeCommand ¶
func NewUpgradeCommand ¶
func NewVersionCommand ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.