演示视频:
- 定时获取数据库内容
使用 LICHEE
需要先创建一个 config.json
的配置文件,在配置文件中添加中添加对应的配置信息
{
"local_port": 10066
}
local_port
提供服务的端口号
path/filepath
abs
join
ext
utils
print
panic
toString
toBase64
md5
sha1
arrayToMap
types
newInt
intValue
newBool
boolValue
newString
stringValue
makeByteSlice
test
err
retUndefined
retNull
time
sleep
nowString
nowDate
nowYear
nowMonth
nowDay
nowHour
nowMinute
nowSecond
os
O_CREATE
O_WRONLY
O_RDONLY
O_RDWR
O_APPEND
O_EXCL
O_SYNC
O_TRUNC
args
tempDir
hostname
getEnv
remove
removeAll
mkdir
mkdirAll
getwd
chdir
openFile
create
open
stat
ini
create
getStr
getInt
getBool
getSection
setStr
setInt
setBool
save
fmt
sprintf
printf
println
print
file
write
read
error
new
db/local
query
exec
begin
commit
rollback
exec
query
os/exec
command