context

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthContextKey contextKey = "isAuth"
View Source
var PathContextKey contextKey = "path"
View Source
var PostCountContextKey contextKey = "postCount"

Functions

func GetPath added in v0.9.1

func GetPath(ctx context.Context) string

func GetPostCount

func GetPostCount(ctx context.Context) int64

func GetPostCountStr

func GetPostCountStr(ctx context.Context) string

func IsAuth

func IsAuth(ctx context.Context) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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