Documentation ¶
Index ¶
Constants ¶
View Source
const ( DATABASE_NAME = "DATABASE_NAME" DATABASE_HOSTNAME = "DATABASE_HOSTNAME" DATABASE_PORT = "DATABASE_PORT" DATABASE_USER = "DATABASE_USER" DATABASE_PASSWORD = "DATABASE_PASSWORD" DATABASE_MAX_IDLE_CONNECTIONS = "DATABASE_MAX_IDLE_CONNECTIONS" DATABASE_MAX_OPEN_CONNECTIONS = "DATABASE_MAX_OPEN_CONNECTIONS" DATABASE_MAX_CONN_LIFETIME = "DATABASE_MAX_CONN_LIFETIME" )
Env variables
Variables ¶
This section is empty.
Functions ¶
func DbConnectionString ¶
DbConnectionString function to construct and return the db connection string from a Database config
Types ¶
type Client ¶
type Client struct {
RPCPath string
}
Client holds configuraiton information for the eth client
Click to show internal directories.
Click to hide internal directories.