Overview

MonadFileStore Instance for minio


Table of contents


Options (type alias)

Signature

export type Options = MinioClientOptions

Added in v0.2.0

StoreClient (type alias)

Signature

export type StoreClient = MinioClient & { region?: string }

Added in v0.2.0

buildStore (function)

build a MonadFileStore with a minio option

Signature


export const buildStore = (o: Options): MonadFileStore & PresignedUrl => ...

Example

import * as path from 'path'
import buildStore from 'macoolka-store-minio'
const store = buildStore({
  endPoint: 'macoolka.com',
  port: 9000,
  useSSL: false,
  accessKey: 'macoolka',
  secretKey: 'macoolka'
})

Added in v0.2.0