Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DEBUG = false Config = new(configuration) )
Functions ¶
func CreateServer ¶
func CreateServer() sockethub
func LoadConfig ¶
func LoadConfig(path string) *configuration
Types ¶
type RedisClient ¶
type RedisClient struct { redis.PubSubConn sync.Mutex // contains filtered or unexported fields }
func NewRedisClient ¶
func NewRedisClient(config RedisConfig) (*RedisClient, error)
func (*RedisClient) PubsubHub ¶
func (client *RedisClient) PubsubHub()
func (*RedisClient) Receive ¶
func (client *RedisClient) Receive() Message
type RedisConfig ¶
type AuthFunc func(req *http.Request) bool
Click to show internal directories.
Click to hide internal directories.