Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllRepository ¶
type ConnectionString ¶
type ConnectionString struct {
User, Password, Database, Address string
}
func (ConnectionString) ToString ¶
func (str ConnectionString) ToString(driver string) string
type ConnectionStringRepository ¶
type ConnectionStringRepository interface { Get() ConnectionString Set(ConnectionString) }
type Database ¶
type Database struct { MaxOpenConns int MaxIdleConns int MaxLifetime time.Duration ConnectionString ConnectionString ContextTimeout time.Duration }
Database is configuration to initialize infrastructure.Database
type DatabaseRepository ¶
DatabaseRepository manage getting and setting the configuration of Database
type ServerRepository ¶
type TimeoutsRepository ¶
Click to show internal directories.
Click to hide internal directories.