featurebase/dax/queryer/config.go
Travis Turner 20429bb9dc
Remove MDS and replace it with Controller (#2219)
* 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>
2023-01-30 16:54:12 -06:00

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:"-"`
}