This repository has been archived on 2019-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
mumbledj/services/pkg_init.go
2016-06-20 17:16:05 -07:00

28 lines
517 B
Go

/*
* MumbleDJ
* By Matthieu Grieger
* services/pkg_init.go
* Copyright (c) 2016 Matthieu Grieger (MIT License)
*/
package services
import (
"github.com/matthieugrieger/mumbledj/bot"
"github.com/matthieugrieger/mumbledj/interfaces"
)
// DJ is an injected MumbleDJ struct.
var DJ *bot.MumbleDJ
// Services is a slice of enabled MumbleDJ services.
var Services []interfaces.Service
func init() {
Services = []interfaces.Service{
NewMixcloudService(),
NewSoundCloudService(),
NewYouTubeService(),
}
}