Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DEBUG = false Config = new(configuration) )
View Source
var H = sockethub{ Broadcast: make(chan []byte), // contains filtered or unexported fields }
Functions ¶
func CreateServer ¶
func LoadConfig ¶
func LoadConfig(path string) *configuration
func NotificationHub ¶
Types ¶
type RedisClient ¶
type RedisClient struct { redis.PubSubConn sync.Mutex // contains filtered or unexported fields }
func NewRedisClient ¶
func NewRedisClient(host, sub string) (*RedisClient, error)
func (*RedisClient) Publish ¶
func (client *RedisClient) Publish(channel, message string)
func (*RedisClient) PubsubHub ¶
func (client *RedisClient) PubsubHub()
func (*RedisClient) Receive ¶
func (client *RedisClient) Receive() Message
Click to show internal directories.
Click to hide internal directories.