Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
func NewStorage ¶
func NewStorage(config StorageConfig) (*Storage, error)
type StorageConfig ¶
type StorageConfig struct {
// contains filtered or unexported fields
}
func NewStorageConfig ¶
func NewStorageConfig() (*StorageConfig, error)
func (StorageConfig) FormatDSN ¶
func (c StorageConfig) FormatDSN() string
func (StorageConfig) FormatDSNConn ¶
func (c StorageConfig) FormatDSNConn() string
func (StorageConfig) GetDatabase ¶
func (c StorageConfig) GetDatabase() string
func (StorageConfig) GetHost ¶
func (c StorageConfig) GetHost() string
func (StorageConfig) GetPort ¶
func (c StorageConfig) GetPort() string
func (StorageConfig) GetUsername ¶
func (c StorageConfig) GetUsername() string
Click to show internal directories.
Click to hide internal directories.