Storage

The storage module allows upload data to remote storage, described in configuration

Usage:

local storage = require('storage.<TYPE>.<NAME>')
  • type - storage type
    • s3
  • name - storage name from configuration

An example:

A configuration file

storages:
  s3:
    - name: dev
      ...

A script

local s3 = require('storage.s3.dev')

See more