cache

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockFilename

func BlockFilename(ns ...string) string

BlockFilename 板块缓存路径

func CalendarFilename

func CalendarFilename() string

CalendarFilename 交易日历文件路径

func DefaultCachePath

func DefaultCachePath() string

DefaultCachePath 数据缓存的根路径

func GetBlockPath

func GetBlockPath() string

GetBlockPath 板块路径

func GetMetaPath

func GetMetaPath() string

GetMetaPath 元数据缓存路径

func InitCachePath

func InitCachePath(path string)

InitCachePath 公开给外部调用的初始化路径的函数

lazyInit和InitCachePath两者只能真正被调用一次

Types

This section is empty.

Jump to

Keyboard shortcuts

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