context

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 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 PostCountContextKey contextKey = "postCount"

Functions

func GetPostCount

func GetPostCount(ctx context.Context) int64

func GetPostCountStr added in v0.2.0

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