pointservice

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitUserPoints

func InitUserPoints(userId uint64, points int64)

func RewardPoints

func RewardPoints(userId uint64, points int64, reason RewardPointsType)

Types

type RewardPointsType

type RewardPointsType int
var (
	RewardPointsInit           RewardPointsType = 0
	RewardPoints4WriteArticles RewardPointsType = 1
	RewardPoints4Reply         RewardPointsType = 2
)

func (RewardPointsType) String

func (r RewardPointsType) String() string

Jump to

Keyboard shortcuts

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