conf

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2022 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Store  Store  `yaml:"store"`
	Server Server `yaml:"server"`
}
var Conf Config

type 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

type Store struct {
	Engine string `yaml:"engine"`
	Path   string `yaml:"path"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL