(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:
key | description |
---|---|
title | insight title, example: user count |
value | insight value, example: 100 |
icon | insight 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: |
(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:
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 |
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 |
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close