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

28 lines
517 B
Go
Raw Normal View History

2016-06-21 02:16:05 +02:00
/*
* 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(),
}
}