Documentation
¶
Index ¶
- Constants
- func CheckFilepath(filename string) error
- func GetCache(fullCode string) *os.File
- func GetCacheFilename(fullCode string) string
- func GetDayPath() string
- func GetInfoPath() string
- func Init(path string) error
- func LoadKLine(fc string) []Cache.DayKLine
- type CacheType
- type DataFrame
- type FastCache
Constants ¶
View Source
const ( INFO_PATH = "info" DAY_PATH = "day" )
Variables ¶
This section is empty.
Functions ¶
func CheckFilepath ¶
CheckFilepath 检查filename 文件路径, 如果不存在就创建
func GetCacheFilename ¶ added in v1.2.0
GetCacheFilename 获取缓存的文件名
Types ¶
type CacheType ¶ added in v1.2.0
type CacheType int
var ( // CACHE_ROOT_PATH cache路径 CACHE_ROOT_PATH = category.DATA_ROOT_PATH CACHE_TYPE CacheType )
Click to show internal directories.
Click to hide internal directories.