dao

package
v0.0.0-...-34841a2 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Torrent         = &torrent{}
	TorrentMetadata = &torrentMetadata{}
	File            = &file{}
)
View Source
var (
	ErrTorrentHashAlreadyExists = status.Error(codes.AlreadyExists, "TorrentHash already exists")
)

Functions

func Init

func Init(db *gorm.DB, rds *redis.Client) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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