Versions in this module Expand all Collapse all v0 v0.2.1 May 6, 2020 v0.2.0 May 3, 2020 Changes in this version + func NewEnv(basePath string, initScripts string, args []string) (*luabox.Environment, error) + type Fs struct + BaseDir string + func (f *Fs) Delete(filePath string) error + func (f *Fs) GetReader(filePath string) (io.ReadCloser, error) + func (f *Fs) GetWriter(filePath string) (io.WriteCloser, error) + func (f *Fs) List(filePath string) ([]luabox.FileInfo, error) + type ZapLog struct + Zap *zap.SugaredLogger + func NewZapLog(cfg zap.Config) (*ZapLog, error) + func (z *ZapLog) Debug(msg string, context map[string]interface{}) + func (z *ZapLog) Error(msg string, context map[string]interface{}) + func (z *ZapLog) Fatal(msg string, context map[string]interface{}) + func (z *ZapLog) Info(msg string, context map[string]interface{}) + func (z *ZapLog) Warn(msg string, context map[string]interface{}) + func (z *ZapLog) WithFields(context map[string]interface{}) luabox.Log