Liking cljdoc? Tell your friends :D

tech.io

Clojars Project

Simple IO library to enable rapid development on at least files, http/https, s3 with optional caching.

Design

The intention is to provide a simple and minimal base io abstraction and then add capabilities via chaining and layering abstractions.

The base abstraction is the IOProvider. There are basic implementations of this abstraction in base.clj. An aws s3 layer is also provided.

Given this abstraction we can implement a caching layer which will cache anything to a defined point in the filesystem. We can also implement a redirection layer which will redirect requests to a defined point on the filesystem.

A minimal layer is provided for clojure.java.io interoperability and for ease of initial use.

Examples

Please see the tests.

License

Copyright © 2018 TechAscent, LLC

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close