PageRenderTime 15ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/core/package.lisp

http://github.com/sykopomp/chillax
Lisp | 78 lines | 54 code | 10 blank | 14 comment | 0 complexity | 90f6145ac27072420d72f14e16b51efc MD5 | raw file
 1(cl:defpackage #:chillax.core
 2  (:use :cl :flexi-streams :drakma :alexandria :chillax.utils)
 3  (:shadow :url-encode)
 4  (:export
 5
 6   ;; Conditions
 7   :couchdb-error :unexpected-response :database-error
 8   :db-not-found :db-already-exists :document-error
 9   :document-not-found :document-conflict
10
11   ;; Server API
12   :server-uri
13   :all-dbs
14   :config-info
15   :replicate
16   :stats
17   :active-tasks
18   :get-uuids
19
20   ;; Database API
21   :db-uri
22   :db-info
23   :db-connect
24   :db-create
25   :ensure-db
26   :db-delete
27   :db-compact
28   :db-changes
29
30   ;; Document API
31   :get-document
32   :get-document-revision
33   :put-document
34   :post-document
35   :delete-document
36   :copy-document
37   :all-documents
38   :batch-get-documents
39   :bulk-post-documents
40
41   ;; Standalone Attachment API
42   :put-attachment
43   :get-attachment
44   :delete-attachment
45   :copy-attachment
46
47   ;; Design Document API
48   :view-cleanup
49   :compact-design-doc
50   :design-doc-info
51   :query-view
52   :query-temporary-view
53
54   ;;;
55   ;;; Protocols
56   ;;;
57
58   ;; Server Protocol
59   :server-host
60   :server-port
61   :server-username
62   :server-password
63   :server-secure-p
64   :data->json
65   :json->data
66   :couch-request
67
68   ;; Database Protocol
69   :make-db-object
70   :database-server
71   :database-name
72
73   ;;;
74   ;;; Sample implementations
75   ;;;
76   :standard-server
77   :standard-database
78   ))