The mito-attachment Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The mito-attachment Reference Manual

This is the mito-attachment Reference Manual, version 0.1, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 04:19:25 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

mito-attachment

The place to store files would be a problem when you intend to write a web application which allows file-uploading. These days, AWS S3 is a common place to store/serve files, however, it's not easy to manage like RDBMS.

Mito-attachment provides a Mito mixin class for managing files outside of RDBMS. It stores files before mito:save-dao and deletes them before mito:delete-dao.

Besides, the backend storage can be replaced easily. This makes it easy that using cloud storage services for production environment and using local filesystem for development environment.

Usage

Setting up the storage

(defvar *appenv* (uiop:getenv "APP_ENV"))

;; Setup storage class
(setf *storage*
      (if (string= *appenv* "production")
          ;; Store files in AWS S3 for production environment
          (make-instance 's3-storage
                         :bucket "mito-attachment-example"
                         :endpoint "s3-ap-northeast-1.amazonaws.com"
                         :access-key (uiop:getenv "AWS_ACCESS_KEY")
                         :secret-key (uiop:getenv "AWS_SECRET_KEY"))
          ;; Store files in local filesystem for development environment
          (make-instance 'disk-storage
                         :bucket "mito-attachment-example"
                         :directory #P"/tmp/attachment/")))

Defining an attachment Mito class

;; Attachment class for saving metadata into RDBMS
(defclass image (attachment) ()
  (:metaclass mito:dao-table-class))

Saving

;; :content can be specified as a pathname or a stream.
(mito:create-dao 'image :content #P"uploaded-file.png")

;; Override the file content-type
(mito:create-dao 'image :content #P"uploaded-file.png" :content-type "image/png")

;; Use an original file-key
(mito:create-dao 'image :content #P"uploaded-file.png" :file-key "image.png")

Getting the URL

(let ((file (mito:find-dao 'image :id 1)))
  (file-url file))
;-> ;; SELECT * FROM "image" WHERE ("id" = ?) LIMIT 1 (1) [1 row] | MITO.DB:RETRIEVE-BY-SQL
;=> "/mito-attachment-example/3616D80112884799B272DC962F4BBF97.jpg"

See example.lisp for getting the full example. It's a Lack web application which allows users to upload image files.

Installation

(ql:quickload :mito-attachment)

See Also

Author

Copyright

Copyright (c) 2016 Eitaro Fukamachi (e.arrows@gmail.com)

License

Licensed under the LLGPL License.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 mito-attachment

Author

Eitaro Fukamachi

License

LLGPL

Description

Mito mixin class for file management

Long Description

# mito-attachment

The place to store files would be a problem when you intend to write a web application which allows file-uploading. These days, AWS S3 is a common place to store/serve files, however, it’s not easy to manage like RDBMS.

Mito-attachment provides a Mito mixin class for managing files outside of RDBMS. It stores files before ‘mito:save-dao‘ and deletes them before ‘mito:delete-dao‘.

Besides, the backend storage can be replaced easily. This makes it easy that using cloud storage services for production environment and using local filesystem for development environment.

## Usage

### Setting up the storage

“‘common-lisp
(defvar *appenv* (uiop:getenv "APP_ENV"))

;; Setup storage class
(setf *storage*
(if (string= *appenv* "production")
;; Store files in AWS S3 for production environment
(make-instance ’s3-storage
:bucket "mito-attachment-example"
:endpoint "s3-ap-northeast-1.amazonaws.com"
:access-key (uiop:getenv "AWS_ACCESS_KEY")
:secret-key (uiop:getenv "AWS_SECRET_KEY"))
;; Store files in local filesystem for development environment
(make-instance ’disk-storage
:bucket "mito-attachment-example"
:directory #P"/tmp/attachment/")))

“‘

### Defining an attachment Mito class

“‘common-lisp
;; Attachment class for saving metadata into RDBMS
(defclass image (attachment) ()
(:metaclass mito:dao-table-class))
“‘

### Saving

“‘common-lisp
;; :content can be specified as a pathname or a stream.
(mito:create-dao ’image :content #P"uploaded-file.png")

;; Override the file content-type
(mito:create-dao ’image :content #P"uploaded-file.png" :content-type "image/png")

;; Use an original file-key
(mito:create-dao ’image :content #P"uploaded-file.png" :file-key "image.png")
“‘

### Getting the URL

“‘common-lisp
(let ((file (mito:find-dao ’image :id 1)))
(file-url file))
;-> ;; SELECT * FROM "image" WHERE ("id" = ?) LIMIT 1 (1) [1 row] | MITO.DB:RETRIEVE-BY-SQL
;=> "/mito-attachment-example/3616D80112884799B272DC962F4BBF97.jpg"
“‘

See [example.lisp](example.lisp) for getting the full example. It’s a Lack web application which allows users to upload image files.

## Installation

“‘common-lisp
(ql:quickload :mito-attachment)
“‘

## See Also

* [Mito](https://github.com/fukamachi/mito)
* [Clipper](https://github.com/Rudolph-Miller/clipper) for Integral

## Author

* Eitaro Fukamachi (e.arrows@gmail.com)

## Copyright

Copyright (c) 2016 Eitaro Fukamachi (e.arrows@gmail.com)

## License

Licensed under the LLGPL License.

Version

0.1

Dependencies
Source

mito-attachment.asd (file)

Component

src (module)


Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Next: , Previous: , Up: Modules   [Contents][Index]

3.1 mito-attachment/src

Parent

mito-attachment (system)

Location

src/

Components

Previous: , Up: Modules   [Contents][Index]

3.2 mito-attachment/src/storage-components

Dependency

storage.lisp (file)

Parent

src (module)

Location

src/storage/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 mito-attachment.asd

Location

mito-attachment.asd

Systems

mito-attachment (system)

Packages

mito-attachment-asd


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 mito-attachment/src/mito-attachment.lisp

Dependencies
Parent

src (module)

Location

src/mito-attachment.lisp

Packages

mito-attachment


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 mito-attachment/src/mixin.lisp

Dependency

storage.lisp (file)

Parent

src (module)

Location

src/mixin.lisp

Packages

mito.attachment.mixin

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 mito-attachment/src/storage.lisp

Parent

src (module)

Location

src/storage.lisp

Packages

mito.attachment.storage

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 mito-attachment/src/storage-components/disk.lisp

Parent

storage-components (module)

Location

src/storage/disk.lisp

Packages

mito.attachment.storage.disk

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.6 mito-attachment/src/storage-components/s3.lisp

Parent

storage-components (module)

Location

src/storage/s3.lisp

Packages

mito.attachment.storage.s3

Exported Definitions
Internal Definitions

with-s3-storage (macro)


Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 mito-attachment-asd

Source

mito-attachment.asd

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

5.2 mito-attachment

Source

mito-attachment.lisp (file)

Nickname

mito.attachment

Use List

common-lisp


Next: , Previous: , Up: Packages   [Contents][Index]

5.3 mito.attachment.mixin

Source

mixin.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.4 mito.attachment.storage

Source

storage.lisp (file)

Use List

common-lisp

Used By List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.5 mito.attachment.storage.disk

Source

disk.lisp (file)

Use List
Exported Definitions
Internal Definitions

Previous: , Up: Packages   [Contents][Index]

5.6 mito.attachment.storage.s3

Source

s3.lisp (file)

Use List
Exported Definitions
Internal Definitions

with-s3-storage (macro)


Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: *storage*
Package

mito.attachment.storage

Source

storage.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Generic functions

Generic Function: content OBJECT
Generic Function: (setf content) NEW-VALUE OBJECT
Package

mito.attachment.mixin

Methods
Method: content (ATTACHMENT attachment)

automatically generated reader method

Source

mixin.lisp (file)

Method: (setf content) NEW-VALUE (ATTACHMENT attachment)

automatically generated writer method

Source

mixin.lisp (file)

Method: (setf content) CONTENT (ATTACHMENT attachment) after
Source

mixin.lisp (file)

Generic Function: content-type OBJECT
Generic Function: (setf content-type) NEW-VALUE OBJECT
Package

mito.attachment.mixin

Methods
Method: content-type (ATTACHMENT attachment)

automatically generated reader method

Source

mixin.lisp (file)

Method: (setf content-type) NEW-VALUE (ATTACHMENT attachment)

automatically generated writer method

Source

mixin.lisp (file)

Generic Function: delete-object-from-storage STORAGE FILE-KEY
Package

mito.attachment.storage

Source

storage.lisp (file)

Methods
Method: delete-object-from-storage (STORAGE s3-storage) FILE-KEY
Source

s3.lisp (file)

Method: delete-object-from-storage (STORAGE disk-storage) FILE-KEY
Source

disk.lisp (file)

Generic Function: disk-storage-bucket-directory STORAGE
Package

mito.attachment.storage.disk

Source

disk.lisp (file)

Methods
Method: disk-storage-bucket-directory (STORAGE disk-storage)
Generic Function: disk-storage-directory OBJECT
Generic Function: (setf disk-storage-directory) NEW-VALUE OBJECT
Package

mito.attachment.storage.disk

Methods
Method: disk-storage-directory (DISK-STORAGE disk-storage)

automatically generated reader method

Source

disk.lisp (file)

Method: (setf disk-storage-directory) NEW-VALUE (DISK-STORAGE disk-storage)

automatically generated writer method

Source

disk.lisp (file)

Generic Function: disk-storage-file STORAGE FILE-KEY
Package

mito.attachment.storage.disk

Source

disk.lisp (file)

Methods
Method: disk-storage-file (STORAGE disk-storage) FILE-KEY
Generic Function: disk-storage-mount-path STORAGE
Package

mito.attachment.storage.disk

Source

disk.lisp (file)

Methods
Method: disk-storage-mount-path (STORAGE disk-storage)
Generic Function: file-key OBJECT
Generic Function: (setf file-key) NEW-VALUE OBJECT
Package

mito.attachment.mixin

Methods
Method: file-key (ATTACHMENT attachment)

automatically generated reader method

Source

mixin.lisp (file)

Method: (setf file-key) NEW-VALUE (ATTACHMENT attachment)

automatically generated writer method

Source

mixin.lisp (file)

Generic Function: file-size OBJECT
Generic Function: (setf file-size) NEW-VALUE OBJECT
Package

mito.attachment.mixin

Methods
Method: file-size (ATTACHMENT attachment)

automatically generated reader method

Source

mixin.lisp (file)

Method: (setf file-size) NEW-VALUE (ATTACHMENT attachment)

automatically generated writer method

Source

mixin.lisp (file)

Generic Function: file-url ATTACHMENT
Package

mito.attachment.mixin

Source

mixin.lisp (file)

Methods
Method: file-url (ATTACHMENT attachment)
Generic Function: s3-storage-access-key OBJECT
Generic Function: (setf s3-storage-access-key) NEW-VALUE OBJECT
Package

mito.attachment.storage.s3

Methods
Method: s3-storage-access-key (S3-STORAGE s3-storage)

automatically generated reader method

Source

s3.lisp (file)

Method: (setf s3-storage-access-key) NEW-VALUE (S3-STORAGE s3-storage)

automatically generated writer method

Source

s3.lisp (file)

Generic Function: s3-storage-secret-key OBJECT
Generic Function: (setf s3-storage-secret-key) NEW-VALUE OBJECT
Package

mito.attachment.storage.s3

Methods
Method: s3-storage-secret-key (S3-STORAGE s3-storage)

automatically generated reader method

Source

s3.lisp (file)

Method: (setf s3-storage-secret-key) NEW-VALUE (S3-STORAGE s3-storage)

automatically generated writer method

Source

s3.lisp (file)

Generic Function: storage-bucket OBJECT
Generic Function: (setf storage-bucket) NEW-VALUE OBJECT
Package

mito.attachment.storage

Methods
Method: storage-bucket (STORAGE storage)

automatically generated reader method

Source

storage.lisp (file)

Method: (setf storage-bucket) NEW-VALUE (STORAGE storage)

automatically generated writer method

Source

storage.lisp (file)

Generic Function: storage-endpoint OBJECT
Generic Function: (setf storage-endpoint) NEW-VALUE OBJECT
Package

mito.attachment.storage

Methods
Method: storage-endpoint (STORAGE storage)

automatically generated reader method

Source

storage.lisp (file)

Method: (setf storage-endpoint) NEW-VALUE (STORAGE storage)

automatically generated writer method

Source

storage.lisp (file)

Generic Function: storage-file-url STORAGE FILE-KEY
Package

mito.attachment.storage

Source

storage.lisp (file)

Methods
Method: storage-file-url (STORAGE s3-storage) FILE-KEY
Source

s3.lisp (file)

Method: storage-file-url (STORAGE disk-storage) FILE-KEY
Source

disk.lisp (file)

Generic Function: store-object-in-storage STORAGE OBJECT FILE-KEY
Package

mito.attachment.storage

Source

storage.lisp (file)

Methods
Method: store-object-in-storage (STORAGE s3-storage) (OBJECT stream) FILE-KEY
Source

s3.lisp (file)

Method: store-object-in-storage (STORAGE s3-storage) (OBJECT pathname) FILE-KEY
Source

s3.lisp (file)

Method: store-object-in-storage (STORAGE disk-storage) (OBJECT stream) FILE-KEY
Source

disk.lisp (file)

Method: store-object-in-storage (STORAGE disk-storage) (OBJECT pathname) FILE-KEY
Source

disk.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Classes

Class: attachment ()
Package

mito.attachment.mixin

Source

mixin.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: file-key
Initargs

:file-key

Readers

file-key (generic function)

Writers

(setf file-key) (generic function)

Slot: content-type
Initargs

:content-type

Readers

content-type (generic function)

Writers

(setf content-type) (generic function)

Slot: file-size
Initargs

:file-size

Readers

file-size (generic function)

Writers

(setf file-size) (generic function)

Slot: content
Initargs

:content

Readers

content (generic function)

Writers

(setf content) (generic function)

Class: disk-storage ()
Package

mito.attachment.storage.disk

Source

disk.lisp (file)

Direct superclasses
  • lack-component (class)
  • storage (class)
Direct methods
Direct slots
Slot: directory
Initargs

:directory

Readers

disk-storage-directory (generic function)

Writers

(setf disk-storage-directory) (generic function)

Slot: mount-path-prefix
Initargs

:mount-path-prefix

Readers

disk-storage-mount-path-prefix (generic function)

Writers

(setf disk-storage-mount-path-prefix) (generic function)

Class: s3-storage ()
Package

mito.attachment.storage.s3

Source

s3.lisp (file)

Direct superclasses

storage (class)

Direct methods
Direct slots
Slot: access-key
Initargs

:access-key

Readers

s3-storage-access-key (generic function)

Writers

(setf s3-storage-access-key) (generic function)

Slot: secret-key
Initargs

:secret-key

Readers

s3-storage-secret-key (generic function)

Writers

(setf s3-storage-secret-key) (generic function)

Direct Default Initargs
InitargValue
:endpointzs3:*s3-endpoint*
Class: storage ()
Package

mito.attachment.storage

Source

storage.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: bucket
Initargs

:bucket

Readers

storage-bucket (generic function)

Writers

(setf storage-bucket) (generic function)

Slot: endpoint
Initargs

:endpoint

Readers

storage-endpoint (generic function)

Writers

(setf storage-endpoint) (generic function)


Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Macros

Macro: with-s3-storage STORAGE &body BODY
Package

mito.attachment.storage.s3

Source

s3.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Functions

Function: initialize-with-content ATTACHMENT CONTENT
Package

mito.attachment.mixin

Source

mixin.lisp (file)

Function: slurp-stream STREAM &optional SIZE
Package

mito.attachment.mixin

Source

mixin.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.3 Generic functions

Generic Function: disk-storage-mount-path-prefix OBJECT
Generic Function: (setf disk-storage-mount-path-prefix) NEW-VALUE OBJECT
Package

mito.attachment.storage.disk

Methods
Method: disk-storage-mount-path-prefix (DISK-STORAGE disk-storage)

automatically generated reader method

Source

disk.lisp (file)

Method: (setf disk-storage-mount-path-prefix) NEW-VALUE (DISK-STORAGE disk-storage)

automatically generated writer method

Source

disk.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   L   M  
Index Entry  Section

F
File, Lisp, mito-attachment.asd: The mito-attachment<dot>asd file
File, Lisp, mito-attachment/src/mito-attachment.lisp: The mito-attachment/src/mito-attachment<dot>lisp file
File, Lisp, mito-attachment/src/mixin.lisp: The mito-attachment/src/mixin<dot>lisp file
File, Lisp, mito-attachment/src/storage-components/disk.lisp: The mito-attachment/src/storage-components/disk<dot>lisp file
File, Lisp, mito-attachment/src/storage-components/s3.lisp: The mito-attachment/src/storage-components/s3<dot>lisp file
File, Lisp, mito-attachment/src/storage.lisp: The mito-attachment/src/storage<dot>lisp file

L
Lisp File, mito-attachment.asd: The mito-attachment<dot>asd file
Lisp File, mito-attachment/src/mito-attachment.lisp: The mito-attachment/src/mito-attachment<dot>lisp file
Lisp File, mito-attachment/src/mixin.lisp: The mito-attachment/src/mixin<dot>lisp file
Lisp File, mito-attachment/src/storage-components/disk.lisp: The mito-attachment/src/storage-components/disk<dot>lisp file
Lisp File, mito-attachment/src/storage-components/s3.lisp: The mito-attachment/src/storage-components/s3<dot>lisp file
Lisp File, mito-attachment/src/storage.lisp: The mito-attachment/src/storage<dot>lisp file

M
mito-attachment.asd: The mito-attachment<dot>asd file
mito-attachment/src: The mito-attachment/src module
mito-attachment/src/mito-attachment.lisp: The mito-attachment/src/mito-attachment<dot>lisp file
mito-attachment/src/mixin.lisp: The mito-attachment/src/mixin<dot>lisp file
mito-attachment/src/storage-components: The mito-attachment/src/storage-components module
mito-attachment/src/storage-components/disk.lisp: The mito-attachment/src/storage-components/disk<dot>lisp file
mito-attachment/src/storage-components/s3.lisp: The mito-attachment/src/storage-components/s3<dot>lisp file
mito-attachment/src/storage.lisp: The mito-attachment/src/storage<dot>lisp file
Module, mito-attachment/src: The mito-attachment/src module
Module, mito-attachment/src/storage-components: The mito-attachment/src/storage-components module

Jump to:   F   L   M  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (  
C   D   F   G   I   M   S   W  
Index Entry  Section

(
(setf content): Exported generic functions
(setf content): Exported generic functions
(setf content): Exported generic functions
(setf content-type): Exported generic functions
(setf content-type): Exported generic functions
(setf disk-storage-directory): Exported generic functions
(setf disk-storage-directory): Exported generic functions
(setf disk-storage-mount-path-prefix): Internal generic functions
(setf disk-storage-mount-path-prefix): Internal generic functions
(setf file-key): Exported generic functions
(setf file-key): Exported generic functions
(setf file-size): Exported generic functions
(setf file-size): Exported generic functions
(setf s3-storage-access-key): Exported generic functions
(setf s3-storage-access-key): Exported generic functions
(setf s3-storage-secret-key): Exported generic functions
(setf s3-storage-secret-key): Exported generic functions
(setf storage-bucket): Exported generic functions
(setf storage-bucket): Exported generic functions
(setf storage-endpoint): Exported generic functions
(setf storage-endpoint): Exported generic functions

C
content: Exported generic functions
content: Exported generic functions
content-type: Exported generic functions
content-type: Exported generic functions

D
delete-object-from-storage: Exported generic functions
delete-object-from-storage: Exported generic functions
delete-object-from-storage: Exported generic functions
disk-storage-bucket-directory: Exported generic functions
disk-storage-bucket-directory: Exported generic functions
disk-storage-directory: Exported generic functions
disk-storage-directory: Exported generic functions
disk-storage-file: Exported generic functions
disk-storage-file: Exported generic functions
disk-storage-mount-path: Exported generic functions
disk-storage-mount-path: Exported generic functions
disk-storage-mount-path-prefix: Internal generic functions
disk-storage-mount-path-prefix: Internal generic functions

F
file-key: Exported generic functions
file-key: Exported generic functions
file-size: Exported generic functions
file-size: Exported generic functions
file-url: Exported generic functions
file-url: Exported generic functions
Function, initialize-with-content: Internal functions
Function, slurp-stream: Internal functions

G
Generic Function, (setf content): Exported generic functions
Generic Function, (setf content-type): Exported generic functions
Generic Function, (setf disk-storage-directory): Exported generic functions
Generic Function, (setf disk-storage-mount-path-prefix): Internal generic functions
Generic Function, (setf file-key): Exported generic functions
Generic Function, (setf file-size): Exported generic functions
Generic Function, (setf s3-storage-access-key): Exported generic functions
Generic Function, (setf s3-storage-secret-key): Exported generic functions
Generic Function, (setf storage-bucket): Exported generic functions
Generic Function, (setf storage-endpoint): Exported generic functions
Generic Function, content: Exported generic functions
Generic Function, content-type: Exported generic functions
Generic Function, delete-object-from-storage: Exported generic functions
Generic Function, disk-storage-bucket-directory: Exported generic functions
Generic Function, disk-storage-directory: Exported generic functions
Generic Function, disk-storage-file: Exported generic functions
Generic Function, disk-storage-mount-path: Exported generic functions
Generic Function, disk-storage-mount-path-prefix: Internal generic functions
Generic Function, file-key: Exported generic functions
Generic Function, file-size: Exported generic functions
Generic Function, file-url: Exported generic functions
Generic Function, s3-storage-access-key: Exported generic functions
Generic Function, s3-storage-secret-key: Exported generic functions
Generic Function, storage-bucket: Exported generic functions
Generic Function, storage-endpoint: Exported generic functions
Generic Function, storage-file-url: Exported generic functions
Generic Function, store-object-in-storage: Exported generic functions

I
initialize-with-content: Internal functions

M
Macro, with-s3-storage: Internal macros
Method, (setf content): Exported generic functions
Method, (setf content): Exported generic functions
Method, (setf content-type): Exported generic functions
Method, (setf disk-storage-directory): Exported generic functions
Method, (setf disk-storage-mount-path-prefix): Internal generic functions
Method, (setf file-key): Exported generic functions
Method, (setf file-size): Exported generic functions
Method, (setf s3-storage-access-key): Exported generic functions
Method, (setf s3-storage-secret-key): Exported generic functions
Method, (setf storage-bucket): Exported generic functions
Method, (setf storage-endpoint): Exported generic functions
Method, content: Exported generic functions
Method, content-type: Exported generic functions
Method, delete-object-from-storage: Exported generic functions
Method, delete-object-from-storage: Exported generic functions
Method, disk-storage-bucket-directory: Exported generic functions
Method, disk-storage-directory: Exported generic functions
Method, disk-storage-file: Exported generic functions
Method, disk-storage-mount-path: Exported generic functions
Method, disk-storage-mount-path-prefix: Internal generic functions
Method, file-key: Exported generic functions
Method, file-size: Exported generic functions
Method, file-url: Exported generic functions
Method, s3-storage-access-key: Exported generic functions
Method, s3-storage-secret-key: Exported generic functions
Method, storage-bucket: Exported generic functions
Method, storage-endpoint: Exported generic functions
Method, storage-file-url: Exported generic functions
Method, storage-file-url: Exported generic functions
Method, store-object-in-storage: Exported generic functions
Method, store-object-in-storage: Exported generic functions
Method, store-object-in-storage: Exported generic functions
Method, store-object-in-storage: Exported generic functions

S
s3-storage-access-key: Exported generic functions
s3-storage-access-key: Exported generic functions
s3-storage-secret-key: Exported generic functions
s3-storage-secret-key: Exported generic functions
slurp-stream: Internal functions
storage-bucket: Exported generic functions
storage-bucket: Exported generic functions
storage-endpoint: Exported generic functions
storage-endpoint: Exported generic functions
storage-file-url: Exported generic functions
storage-file-url: Exported generic functions
storage-file-url: Exported generic functions
store-object-in-storage: Exported generic functions
store-object-in-storage: Exported generic functions
store-object-in-storage: Exported generic functions
store-object-in-storage: Exported generic functions
store-object-in-storage: Exported generic functions

W
with-s3-storage: Internal macros

Jump to:   (  
C   D   F   G   I   M   S   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
A   B   C   D   E   F   M   S  
Index Entry  Section

*
*storage*: Exported special variables

A
access-key: Exported classes

B
bucket: Exported classes

C
content: Exported classes
content-type: Exported classes

D
directory: Exported classes

E
endpoint: Exported classes

F
file-key: Exported classes
file-size: Exported classes

M
mount-path-prefix: Exported classes

S
secret-key: Exported classes
Slot, access-key: Exported classes
Slot, bucket: Exported classes
Slot, content: Exported classes
Slot, content-type: Exported classes
Slot, directory: Exported classes
Slot, endpoint: Exported classes
Slot, file-key: Exported classes
Slot, file-size: Exported classes
Slot, mount-path-prefix: Exported classes
Slot, secret-key: Exported classes
Special Variable, *storage*: Exported special variables

Jump to:   *  
A   B   C   D   E   F   M   S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   A   C   D   M   P   S  
Index Entry  Section

A
attachment: Exported classes

C
Class, attachment: Exported classes
Class, disk-storage: Exported classes
Class, s3-storage: Exported classes
Class, storage: Exported classes

D
disk-storage: Exported classes

M
mito-attachment: The mito-attachment system
mito-attachment: The mito-attachment package
mito-attachment-asd: The mito-attachment-asd package
mito.attachment.mixin: The mito<dot>attachment<dot>mixin package
mito.attachment.storage: The mito<dot>attachment<dot>storage package
mito.attachment.storage.disk: The mito<dot>attachment<dot>storage<dot>disk package
mito.attachment.storage.s3: The mito<dot>attachment<dot>storage<dot>s3 package

P
Package, mito-attachment: The mito-attachment package
Package, mito-attachment-asd: The mito-attachment-asd package
Package, mito.attachment.mixin: The mito<dot>attachment<dot>mixin package
Package, mito.attachment.storage: The mito<dot>attachment<dot>storage package
Package, mito.attachment.storage.disk: The mito<dot>attachment<dot>storage<dot>disk package
Package, mito.attachment.storage.s3: The mito<dot>attachment<dot>storage<dot>s3 package

S
s3-storage: Exported classes
storage: Exported classes
System, mito-attachment: The mito-attachment system

Jump to:   A   C   D   M   P   S