Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ListenAddr string `toml:"listen_addr"` SocketPath string `toml:"socket_path"` PrimaryServer *GitalyServer `toml:"primary_server"` SecondaryServers []*GitalyServer `toml:"secondary_server"` // Whitelist is a list of relative project paths (paths comprised of project // hashes) that are permitted to use high availability features Whitelist []string `toml:"whitelist"` Logging config.Logging `toml:"logging"` PrometheusListenAddr string `toml:"prometheus_listen_addr"` }
Config is a container for everything found in the TOML config file
func (Config) ConfigureLogger ¶
ConfigureLogger applies the settings from the configuration file to the logger, setting the log level and format.
type GitalyServer ¶
type GitalyServer struct { Name string `toml:"name"` ListenAddr string `toml:"listen_addr" split_words:"true"` }
GitalyServer allows configuring the servers that RPCs are proxied to
Click to show internal directories.
Click to hide internal directories.