filedb

package
v0.0.0-...-9cefb5c Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Filename string `mapstructure:"filename"`
}

type Db

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

func New

func New(cfg *Config) (*Db, error)

func (*Db) Follow

func (d *Db) Follow(ctx context.Context, userId, seriesId int) error

func (*Db) Followed

func (d *Db) Followed(ctx context.Context, userId int) (comicshelf.Set[int], error)

func (*Db) Following

func (d *Db) Following(ctx context.Context, userId, seriesId int) (bool, error)

func (*Db) Shutdown

func (d *Db) Shutdown()

func (*Db) Unfollow

func (d *Db) Unfollow(ctx context.Context, userId, seriesId int) error

Jump to

Keyboard shortcuts

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