cache_service

package
v0.0.0-...-c6f1323 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Article

type Article struct {
	ID       uint
	Title    string
	Author   string
	Tags     []string
	Category string
}

func (*Article) GetArticleKey

func (a *Article) GetArticleKey() string

func (*Article) GetArticlesKey

func (a *Article) GetArticlesKey() string

获取文章缓存key的方法

type Tag

type Tag struct {
	ID   int
	Name string
}

func (*Tag) GetTagsKey

func (t *Tag) GetTagsKey() string

获取标签缓存key的方法

Jump to

Keyboard shortcuts

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