subject

package
v0.32.8 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: AGPL-3.0, AGPL-3.0-only Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertDao

func ConvertDao(s *dao.Subject) (model.Subject, error)

Types

type CachedRepo added in v0.30.15

type CachedRepo interface {
	// contains filtered or unexported methods
}

func NewCachedRepo added in v0.30.15

func NewCachedRepo(c cache.RedisCache, r Repo, log *zap.Logger) CachedRepo

type Filter added in v0.27.4

type Filter struct {
	// if nsfw subject are allowed
	NSFW null.Bool
}

type Repo added in v0.27.4

type Repo interface {
	// contains filtered or unexported methods
}

func NewMysqlRepo

func NewMysqlRepo(q *query.Query, log *zap.Logger) (Repo, error)

type Tag added in v0.21.1

type Tag struct {
	Name  *string `php:"tag_name"`
	Count int     `php:"result,string"`
}

Jump to

Keyboard shortcuts

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