storage

package
v0.0.0-...-7d7da62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBClient

type DBClient struct {
	Client *mongo.Client
}

func CreateDBClient

func CreateDBClient() (*DBClient, context.Context)

func (*DBClient) GetEntry

func (db *DBClient) GetEntry(collectionName string, filter interface{}, ctx context.Context) (interface{}, error)

type Storage

type Storage interface {
	Get(string) *models.Skill
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL