Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(runOpts RunOptions)
Run runs the server programmatically given a filename for the configuration file.
Types ¶
type RunOptions ¶
type RunOptions struct { // ConfigFile is the config file to use. ConfigFile string // Config is an alternate way to provide configuration and will be used // instead of parsing ConfigFile if ConfigFile is not specified. Config config.Configuration // DBClient is the M3DB client to use instead of instantiating a new one // from client config. DBClient <-chan client.Client // ClusterClient is the M3DB cluster client to use instead of instantiating // one from the client config. ClusterClient <-chan clusterclient.Client }
RunOptions provides options for running the server with backwards compatibility if only solely adding fields.
Click to show internal directories.
Click to hide internal directories.