package
Version:
v0.0.0-...-18d231c
Opens a new window with list of versions in this module.
Published: Jul 19, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Storage Storage `yaml:"storage"`
}
type DB struct {
Enable bool `yaml:"enable"`
FilingSize int64 `yaml:"filingSize"`
FlushMethod int `yaml:"flushMethod"`
FlushInterval uint `yaml:"flushInterval"`
}
type Log struct {
Enable bool `yaml:"enable"`
}
type Storage struct {
Dir string `yaml:"dir"`
Log Log `yaml:"log"`
DB DB `yaml:"db"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.