Documentation ¶
Index ¶
Constants ¶
View Source
const (
MAX_LIMIT = 10
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DatabaseConfig ¶
type DatabaseConfig struct { Driver string // Not used Host string Username string Password string Port int Database string Charset string Collation string Location string MaxIdleConns int // Sets the maximum number of connections in the idle connection pool MaxOpenConns int // Sets the maximum number of open connections to the database ConnMaxLifetime time.Duration // Sets the maximum amount of time a connection may be reused }
DatabaseConfig represents the database configuration.
Click to show internal directories.
Click to hide internal directories.