mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
* Remove MDS and replace it with Controller This commit removes the MDS layer (and package) and shifts Controller package into its place. * add pprof/fgprof to serverless http router --------- Co-authored-by: Matthew Jaffee <jaffee@pilosa.com>
17 lines
705 B
Go
17 lines
705 B
Go
package queryer
|
|
|
|
import (
|
|
"github.com/featurebasedb/featurebase/v3/logger"
|
|
)
|
|
|
|
// Config defines the configuration parameters for Queryer. At the moment, it's
|
|
// being used to serve two different purposes. This first is to provide the
|
|
// config parameters for the toml (i.e. human-friendly) file used at server
|
|
// startup. The second is as the Config for the Queryer type. If this gets more
|
|
// complex, it might make sense to split this into two different config structs.
|
|
// We initially did that with something called "Injections", but that separation
|
|
// was a bit premature.
|
|
type Config struct {
|
|
ControllerAddress string `toml:"controller-address"`
|
|
Logger logger.Logger `toml:"-"`
|
|
}
|