Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormMetadataStorage ¶
type GormMetadataStorage struct {
// contains filtered or unexported fields
}
func NewGormMetadataStorage ¶
func NewGormMetadataStorage(settings GormMetadataStorageSettings) (*GormMetadataStorage, error)
func (*GormMetadataStorage) GetConnection ¶
func (gms *GormMetadataStorage) GetConnection() interface{}
func (*GormMetadataStorage) GetSubType ¶
func (gms *GormMetadataStorage) GetSubType() string
func (*GormMetadataStorage) GetType ¶
func (gms *GormMetadataStorage) GetType() MetadataStorageType
type MetadataStorage ¶
type MetadataStorage interface { GetType() MetadataStorageType GetSubType() string GetConnection() interface{} }
func GetMetadataStorage ¶
func GetMetadataStorage(config MetadataStorageConfig) (MetadataStorage, error)
type MetadataStorageConfig ¶
type MetadataStorageConfig struct { Type MetadataStorageType Settings interface{} }
func GetDefaults ¶
func GetDefaults() MetadataStorageConfig
type MetadataStorageType ¶
type MetadataStorageType string
const MetadataStorageTypeGorm MetadataStorageType = "gorm"
Click to show internal directories.
Click to hide internal directories.