database

package
v0.0.0-...-f8e285d Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VideoEntity

type VideoEntity struct {
	Id   primitive.ObjectID `bson:"_id"`
	Path string
}

type VideoRepository

type VideoRepository struct {
	// contains filtered or unexported fields
}

func NewVideoRepository

func NewVideoRepository(ctx context.Context, dbHost, dbName string) (*VideoRepository, error)

func (*VideoRepository) Close

func (vr *VideoRepository) Close() error

Jump to

Keyboard shortcuts

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