pointservice

package
v0.2.68 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 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, action PointsAction)

Types

type PointsAction added in v0.2.49

type PointsAction int
const (
	PointsActionUnknown PointsAction = iota
	PointsActionInit
	PointsActionTopicPublished
	PointsActionPostCreated
)

func (PointsAction) Code added in v0.2.49

func (action PointsAction) Code() string

Jump to

Keyboard shortcuts

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