Documentation ¶
Index ¶
Constants ¶
View Source
const ( PostgresqlDriver = "postgres" MySQLDriver = "mysql" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockStorage ¶
type DatabaseStorage ¶
type DatabaseStorage struct {
// contains filtered or unexported fields
}
func NewPostgresStorage ¶
func NewPostgresStorage(driverName DriverName, dataSourceName string, channelID string) (DatabaseStorage, error)
type DriverName ¶
type DriverName string
type ElasticSearchStorage ¶
type ElasticSearchStorage struct {
// contains filtered or unexported fields
}
func NewElasticStorage ¶
func NewElasticStorage(client *elasticsearch7.Client) ElasticSearchStorage
type ItemHistory ¶
type MeilisearchStorage ¶
type MeilisearchStorage struct {
// contains filtered or unexported fields
}
func NewMeilisearchStorage ¶
func NewMeilisearchStorage(client meilisearch.ClientInterface, channelID string) (MeilisearchStorage, error)
Click to show internal directories.
Click to hide internal directories.