collect

package
v0.0.0-...-983cbdb Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlogCollectConfirmDbGet

func BlogCollectConfirmDbGet(id, cubeid string) bool

func BlogCollectConfirmRedisGet

func BlogCollectConfirmRedisGet(blogid, cubeid string) bool

func BlogCollectRedis

func BlogCollectRedis(cubeid, blogid, cover, date, title, labelType string)

Types

type Collect

type Collect struct {
	Id     int
	CubeId string `orm:"index"`
	BlogId int    `orm:"index"`
}

func (*Collect) BlogCollect

func (o *Collect) BlogCollect(cubeid, blogid, cover, date, title, labelType string) (string, bool)

func (*Collect) BlogCollectConfirm

func (o *Collect) BlogCollectConfirm(id, cubeid string) bool

func (*Collect) BlogCollectDb

func (o *Collect) BlogCollectDb(cubeid, blogid string) error

func (*Collect) BlogCollectionGet

func (o *Collect) BlogCollectionGet(cubeid string) (interface{}, int64, bool)

func (*Collect) CollectDelete

func (o *Collect) CollectDelete(index, blogId, cubeId string) (string, bool)

func (*Collect) CollectProfileGet

func (o *Collect) CollectProfileGet(blogId string) (interface{}, bool)

Jump to

Keyboard shortcuts

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