Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplePushSecretConfig ¶
type ApplePushSecretConfig struct {
Items map[string]ApplePushSecretConfigItem `json:"items"`
}
type CacheConfig ¶
type ClientConfigItem ¶
type ClientConfigItem struct {
PushType PushType `json:"push_type"`
}
type DBConfigItem ¶
type FirebaseConfig ¶
type FirebaseConfig struct {
Items map[string]FirebaseConfigItem `json:"items"`
}
type FirebaseConfigItem ¶
type LokiConfig ¶
type LokiConfig struct { // the loki api url URL string `json:"url"` //(optional, default: hot-novel) 用于区分不同应用的日志来源,且会依据不同的 LoggerType 添加后缀用于区分不同的 logger Source string `json:"source"` //(optional, default: severity) the label's key to distinguish log's level, it will be added to Labels map LevelName string `json:"level_name"` // (optional, default: zapcore.InfoLevel) logs beyond this level will be sent SendLevel int8 `json:"send_level"` // the labels which will be sent to loki, contains the {levelname: level} Labels map[string]string `json:"labels"` }
type MqConfig ¶
type MqConfig struct { // 重新恢复消息的时间间隔, 单位 ms RecoverMessageDuration int `json:"recover_message_duration"` MaxRetryCount int `json:"max_retry_count"` OnceReadMessageCount int `json:"once_read_message_count"` InitCreatedConsumerCount int `json:"init_created_consumer_count"` MaxPendingTime int `json:"max_pending_time"` }
Click to show internal directories.
Click to hide internal directories.