Documentation ¶
Index ¶
Constants ¶
View Source
const (
PingQuery = "SELECT 1"
)
Variables ¶
This section is empty.
Functions ¶
func NewMongoDBRepo ¶
func NewMongoDBRepo(ctx context.Context, config config.RepoConfig) (repository.Repository, error)
Types ¶
type MongoDBRepository ¶
type MongoDBRepository struct {
// contains filtered or unexported fields
}
func (*MongoDBRepository) Close ¶
func (repo *MongoDBRepository) Close() error
func (*MongoDBRepository) Type ¶
func (repo *MongoDBRepository) Type() string
Click to show internal directories.
Click to hide internal directories.