xkv

package
v0.0.0-...-a197260 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: AGPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultTTL int64 = 86400 * 7

Functions

func GetTypeValues

func GetTypeValues(ctx echo.Context, typ string, defaultValue ...string) ([]string, error)

func GetTypeValuesNocache

func GetTypeValuesNocache(ctx echo.Context, typ string, defaultValue ...string) ([]string, error)

func GetValue

func GetValue(ctx echo.Context, key string, defaultValue ...string) (string, error)

GetValue 获取 key 的值 defaultValue: 0. 默认值; 1. 说明; 2. 帮助说明 (1 和 2 仅在自动创建时有用)

func GetValueNocache

func GetValueNocache(ctx echo.Context, key string, defaultValue ...string) (string, error)

func RemoveCache

func RemoveCache(kv *dbschema.NgingKv) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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