Discover Packages
github.com/yemingfeng/sdb
internal
conf
package
Version:
v1.7.0
Opens a new window with list of versions in this module.
Published: Mar 12, 2022
License: BSD-2-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
Store Store `yaml:"store"`
Server Server `yaml:"server"`
}
type Server struct {
GRPCPort int `yaml:"grpc_port"`
HttpPort int `yaml:"http_port"`
Rate int `yaml:"rate"`
SlowQueryThreshold int64 `yaml:"slow_query_threshold"`
}
type Store struct {
Engine string `yaml:"engine"`
Path string `yaml:"path"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.