# Functions
InitDB establishes connections to Redis server according to the config parameters.
NewServer creates a new HTTP server for MicroNotifier.
NewSupervisor creates a new Supervisor.
ReadConfig reads configuration data and returns Config struct or an error.
ReadConfigFile reads a config file and returns Config struct or an error.
# Structs
Application is a namaspece for channels.
Channel corresponds to Pusher channel.
Config holds the enture configuration parameters.
ConfigApplication is the configuration of individual applications.
ConfigError will be returned when something bad occur during reading config file.
ConfigRedis is an optional Redis configuration parameters.
ConnectionEstablishedData is a struct to return pusher:connection_established event to the client.
DB encapsulates Redis operation from other parts.
Event is the actual event to be sent.
EventRequest is a packet dispersed via pubsub channel.
PusherEvent is a struct to receive Pusher message.
Supervisor is the root of runtime data structure.
UIDArray is kept in <application>/users.
User hold individial user (assigned with unique ID).