Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewElasticStore ¶
func NewElasticStore(cfg log.ElasticConfig) log.LogStore
NewElasticStore 创建基于ElasticSearch存储的实例
func NewFileStore ¶
func NewFileStore(config log.FileConfig) log.LogStore
NewFileStore 创建新的FileStore实例
func NewMongoStore ¶
func NewMongoStore(cfg log.MongoConfig) log.LogStore
NewMongoStore 创建基于MongoDB存储的实例
Types ¶
type ElasticStore ¶
type ElasticStore struct {
// contains filtered or unexported fields
}
ElasticStore 提供ElasticSearch的存储实现
type FileStore ¶
type FileStore struct {
// contains filtered or unexported fields
}
FileStore 提供文件日志存储
type MongoStore ¶
type MongoStore struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.