timeline

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: AGPL-3.0, AGPL-3.0-only Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service added in v0.30.17

type Service interface {
	ChangeSubjectCollection(
		ctx context.Context,
		u model.UserID,
		sbj model.Subject,
		collect collection.SubjectCollection,
		collectID uint64,
		comment string,
		rate uint8,
	) error

	ChangeEpisodeStatus(
		ctx context.Context,
		u auth.Auth,
		sbj model.Subject,
		episode episode.Episode,
	) error

	ChangeSubjectProgress(
		ctx context.Context,
		u model.UserID,
		sbj model.Subject,
		epsUpdate uint32,
		volsUpdate uint32,
	) error
}

func NewMysqlRepo

func NewMysqlRepo(q *query.Query, log *zap.Logger, cfg config.AppConfig) (Service, error)

Jump to

Keyboard shortcuts

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