Liking cljdoc? Tell your friends :D

dvliman.logsnag


base-urlclj


insightclj

(insight {:keys [token project] :as _client} insight)

Publish insight LogSnag

Expects a :client of :token and :project and an :event map with the following keys:

keydescription
titleinsight title, example: user count
valueinsight value, example: 100
iconinsight icon (emoji), must be a single emoji, example: :rose:
Publish insight LogSnag

Expects a :client of :token and :project
and an :event map with the following keys:

| key           | description                                                   |
| --------------|---------------------------------------------------------------|
| `title`       | insight title, example: user count                            |
| `value`       | insight value, example: 100                                   |
| `icon`        | insight icon (emoji), must be a single emoji, example: :rose: |
raw docstring

insight-endpointclj


log-endpointclj


publishclj

(publish {:keys [token project] :as _client} event)

Publish a new event to LogSnag

Expects a :client of :token and :project and an :event map with the following keys:

keydescription
channelchannel name, example: waitlist
eventevent name, example: user joined
descriptionevent description, example: joe@example.com joined waitlist
iconevent icon (emoji), must be a single emoji, example: :rose:
tagsevent tags, example: {username: mattie}
notifysend push notification
parserparser for description
Publish a new event to LogSnag

Expects a :client of :token and :project
and an :event map with the following keys:

| key           | description                                                 |
| --------------|-------------------------------------------------------------|
| `channel`     | channel name, example: waitlist                             |
| `event`       | event name, example: user joined                            |
| `description` | event description, example: joe@example.com joined waitlist |
| `icon`        | event icon (emoji), must be a single emoji, example: :rose: |
| `tags`        | event tags, example: {username: mattie}                     |
| `notify`      | send push notification                                      |
| `parser`      | parser for description                                      |
raw docstring

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

× close