Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // GrpcTransport specifies grpc transport configuration GrpcTransport *transport.Config // HttpPort defines the port for listening incoming HTTP connections HttpPort int // DB specifies DBConn for storing the logs and chunks metadata DB *DBConn // LocalDBFilePath specifies where the logs data is stored LocalDBFilePath string // MaxOpenedLogFiles allows to control number of files opened at a time to work with the solaris data // Increasing the number allows to increase the system performance for accessing to random group of logs MaxOpenedLogFiles int }
Config defines the scaffolding-golang server configuration
func BuildConfig ¶
type DBConn ¶ added in v0.17.0
type DBConn struct { // Driver is the db driver (e.g. postgres) Driver string // Host is the host address where the db reside Host string // Port is the port on which the db is listening for connections Port string // Username is the username for authc/z against the db Username string // Password is the password for authc/z against the db Password string // DBName is the name of the db to connect to DBName string // SSLMode is the SSL mode to use SSLMode string }
DBConn represents database connection parameters
func (*DBConn) SourceName ¶ added in v0.17.0
SourceName returns the DSN for the connection
Click to show internal directories.
Click to hide internal directories.