Documentation ¶
Index ¶
- Constants
- Variables
- func GetOssDomain() string
- func Initial(suite []string, noDefault bool)
- func MustAlipayClient() *alipay.Client
- func MustGormDB() *gorm.DB
- func MustRedisClient() rueidis.Client
- func MustSqlDB() *sql.DB
- func OpenSqlite3() (string, *sql.DB, error)
- func RunMode() string
- func UseSentryGin() bool
- type TableNameMap
Constants ¶
View Source
const ( TableAnouncement = "user" TableAnouncementContent = "anouncement_content" TableAttachment = "attachment" TableCaptcha = "captcha" TableComment = "comment" TableCommentContent = "comment_content" TableCommentReply = "comment_reply" TableFollowing = "following" TableContact = "contact" TableContactGroup = "contact_group" TableMessage = "message" TablePost = "post" TablePostByComment = "post_by_comment" TablePostByMedia = "post_by_media" TablePostAttachmentBill = "post_attachment_bill" TablePostCollection = "post_collection" TablePostContent = "post_content" TablePostStar = "post_star" TableTag = "tag" TableUser = "user" TableWalletRecharge = "wallet_recharge" TableWalletStatement = "wallet_statement" )
Variables ¶
View Source
var ( PyroscopeSetting *pyroscopeConf DatabaseSetting *databaseConf MysqlSetting *mysqlConf PostgresSetting *postgresConf Sqlite3Setting *sqlite3Conf PprofServerSetting *httpServerConf WebServerSetting *httpServerConf AdminServerSetting *httpServerConf SpaceXServerSetting *httpServerConf BotServerSetting *httpServerConf LocalossServerSetting *httpServerConf FrontendWebSetting *httpServerConf DocsServerSetting *httpServerConf MobileServerSetting *grpcServerConf AppSetting *appConf CacheIndexSetting *cacheIndexConf SimpleCacheIndexSetting *simpleCacheIndexConf BigCacheIndexSetting *bigCacheIndexConf RedisCacheIndexSetting *redisCacheIndexConf SmsJuheSetting *smsJuheConf AlipaySetting *alipayConf TweetSearchSetting *tweetSearchConf ZincSetting *zincConf MeiliSetting *meiliConf ObjectStorage *objectStorageConf AliOSSSetting *aliOSSConf COSSetting *cosConf HuaweiOBSSetting *huaweiOBSConf MinIOSetting *minioConf S3Setting *s3Conf LocalOSSSetting *localossConf JWTSetting *jwtConf )
Functions ¶
func GetOssDomain ¶ added in v0.2.0
func GetOssDomain() string
func MustAlipayClient ¶ added in v0.4.0
func MustAlipayClient() *alipay.Client
func MustGormDB ¶ added in v0.2.0
func MustRedisClient ¶ added in v0.3.0
func UseSentryGin ¶ added in v0.3.0
func UseSentryGin() bool
Types ¶
type TableNameMap ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.