Liking cljdoc? Tell your friends :D

frereth.cp.server.hello

For coping with incoming HELLO packets

For coping with incoming HELLO packets
raw docstring

do-handleclj

(do-handle {:keys [:frereth.weald.specs/logger]
            log-state :frereth.weald.specs/state
            :as state}
           cookie-response-builder
           {:keys [:message] :as packet})
source

internal-handlerclj

(internal-handler {log-state :frereth.weald.specs/state :as state} message)

FIXME: Needs a better name

FIXME: Needs a better name
sourceraw docstring

open-hello-crypto-boxclj

(open-hello-crypto-box {:keys [:frereth.cp.server.hello/client-short-pk
                               :frereth.cp.server.state/cookie-cutter]
                        nonce-suffix :frereth.cp.server.hello/nonce-suffix
                        {long-keys :frereth.cp.shared/long-pair :as my-keys}
                          :frereth.cp.shared/my-keys
                        log-state :frereth.weald.specs/state
                        :as state}
                       message
                       crypto-box)
source

open-packetclj

(open-packet {:keys [:frereth.cp.server.state/current-client]
              log-state :frereth.weald.specs/state
              :as state}
             message)
source

send-timeoutclj

Milliseconds to wait for putting packets onto network queue

Milliseconds to wait for putting packets onto network queue
sourceraw docstring

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

× close