articleviewservice

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: May 26, 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 Count

func Count(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) Count

func (c *ViewCounter) Count(articleID uint64)

Jump to

Keyboard shortcuts

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