subscribe_dao

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StatisticDailyQuery

func StatisticDailyQuery() int

StatisticDailyQuery 获取当日访问量 依赖于临时内存

func StatisticViewQuery

func StatisticViewQuery(name string) int

StatisticViewQuery 获取访问量

func StatisticsViewUpdate

func StatisticsViewUpdate(name string, count int)

StatisticsViewUpdate 更新访问量

func SubscribeAdd

func SubscribeAdd(mail, period string) error

SubscribeAdd 添加逻辑 判断是否是邮箱由前端校验

func SubscribeDelete

func SubscribeDelete(mail string) error

SubscribeDelete 取消订阅 保证一定成功

Types

This section is empty.

Jump to

Keyboard shortcuts

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