articleviewservice

package
v0.2.47 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloseViewCounter

func CloseViewCounter() error

func RecordView added in v0.2.42

func RecordView(articleID uint64)

Types

type ViewCounter

type ViewCounter struct {
	// contains filtered or unexported fields
}

func GetViewCounter

func GetViewCounter() *ViewCounter

func (*ViewCounter) Close

func (c *ViewCounter) Close()

func (*ViewCounter) Record added in v0.2.42

func (c *ViewCounter) Record(articleID uint64)

Jump to

Keyboard shortcuts

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