View Source Kvasir.PubSub (kvasir_pub_sub v0.0.1)

Documentation for Kvasir.PubSub.

Link to this section Summary

Link to this section Types

@type client() :: struct()
@type credentials() ::
  :anonymous
  | {:token, token :: String.t()}
  | {:user, user :: String.t()}
  | {:password, user :: String.t(), pass :: String.t()}
@type server() :: Kvasir.PubSub.Server.t()
@type server_state() :: {server(), client()}

Link to this section Functions

@spec child_spec(Keyword.t()) :: Supervisor.child_spec()