Versions in this module Expand all Collapse all v1 v1.2.0 Jan 21, 2019 Changes in this version type ServerCommand + RestrictedWords []string + UpdateLimit float64 v1.1.0 Jan 6, 2019 Changes in this version + type AdminGroup struct + Shared struct{ ... } + Type string + type AuthGroup struct + CID string + CSEC string + type AvatarCommand struct + AvatarDst AvatarGroup + AvatarSrc AvatarGroup + Mongo MongoGroup + func (ac *AvatarCommand) Execute(args []string) error + type AvatarGroup struct + Bolt struct{ ... } + FS struct{ ... } + RszLmt int + Type string + type AvatarMigrator interface + Migrate func(avatar.Store, avatar.Store) (int, error) + type BackupCommand struct + AdminPasswd string + ExportFile string + ExportPath string + Site string + Timeout time.Duration + func (ec *BackupCommand) Execute(args []string) error + type CacheGroup struct + Max struct{ ... } + Type string + type CleanupCommand struct + AdminPasswd string + BadUsers []string + BadWords []string + Dry bool + From string + SetTitle bool + Site string + To string + func (cc *CleanupCommand) Execute(args []string) error + type CommonOptionsCommander interface + Execute func(args []string) error + SetCommon func(commonOpts CommonOpts) + type CommonOpts struct + RemarkURL string + Revision string + SharedSecret string + func (c *CommonOpts) SetCommon(commonOpts CommonOpts) + type ImportCommand struct + AdminPasswd string + InputFile string + Provider string + Site string + Timeout time.Duration + func (ic *ImportCommand) Execute(args []string) error + type MongoGroup struct + DB string + URL string + type NotifyGroup struct + QueueSize int + Telegram struct{ ... } + Type string + type RestoreCommand struct + AdminPasswd string + ImportFile string + ImportPath string + Site string + Timeout time.Duration + func (rc *RestoreCommand) Execute(args []string) error + type SSLGroup struct + ACMEEmail string + ACMELocation string + Cert string + Key string + Port int + Type string + type ServerCommand struct + Admin AdminGroup + AdminPasswd string + Auth struct{ ... } + Avatar AvatarGroup + BackupLocation string + Cache CacheGroup + CriticalScore int + EditDuration time.Duration + ImageProxy bool + LowScore int + MaxBackupFiles int + MaxCommentSize int + MaxVotes int + Mongo MongoGroup + Notify NotifyGroup + Port int + ReadOnlyAge int + SSL SSLGroup + Sites []string + Store StoreGroup + WebRoot string + func (s *ServerCommand) Execute(args []string) error + type StoreGroup struct + Bolt struct{ ... } + Type string