/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. ;; Conditions
  6. :couchdb-error :unexpected-response :database-error
  7. :db-not-found :db-already-exists :document-error
  8. :document-not-found :document-conflict
  9. ;; Server API
  10. :server-uri
  11. :all-dbs
  12. :config-info
  13. :replicate
  14. :stats
  15. :active-tasks
  16. :get-uuids
  17. ;; Database API
  18. :db-uri
  19. :db-info
  20. :db-connect
  21. :db-create
  22. :ensure-db
  23. :db-delete
  24. :db-compact
  25. :db-changes
  26. ;; Document API
  27. :get-document
  28. :get-document-revision
  29. :put-document
  30. :post-document
  31. :delete-document
  32. :copy-document
  33. :all-documents
  34. :batch-get-documents
  35. :bulk-post-documents
  36. ;; Standalone Attachment API
  37. :put-attachment
  38. :get-attachment
  39. :delete-attachment
  40. :copy-attachment
  41. ;; Design Document API
  42. :view-cleanup
  43. :compact-design-doc
  44. :design-doc-info
  45. :query-view
  46. :query-temporary-view
  47. ;;;
  48. ;;; Protocols
  49. ;;;
  50. ;; Server Protocol
  51. :server-host
  52. :server-port
  53. :server-username
  54. :server-password
  55. :server-secure-p
  56. :data->json
  57. :json->data
  58. :couch-request
  59. ;; Database Protocol
  60. :make-db-object
  61. :database-server
  62. :database-name
  63. ;;;
  64. ;;; Sample implementations
  65. ;;;
  66. :standard-server
  67. :standard-database
  68. ))