Documentation ¶
Index ¶
- Variables
- func AddFriend(s *discordgo.Session)
- func AddMachineryActiveWorker(worker *machinery.Worker)
- func GetElastic() *elastic.Client
- func GetFriend(guildID string) *discordgo.Session
- func GetFriends() []*discordgo.Session
- func GetGoogleDriveService() *drive.Service
- func GetKeen() *keen.Client
- func GetLogger() *logrus.Logger
- func GetMachineryActiveWorkers() (workers []*machinery.Worker)
- func GetMachineryRedisClient() *redis.Client
- func GetMachineryServer() *machinery.Server
- func GetPluginExtendedList() []string
- func GetPluginList() []string
- func GetPolr() *polr.Polr
- func GetRedisCacheCodec() *cache.Codec
- func GetRedisClient() *redis.Client
- func GetSession() *shardmanager.Manager
- func HasElastic() bool
- func HasGoogleDrive() bool
- func HasKeen() bool
- func HasMachineryRedisClient() bool
- func IsSession() bool
- func RemoveMachineryActiveWorker(worker *machinery.Worker)
- func SetElastic(s *elastic.Client)
- func SetGoogleDriveService(service *drive.Service)
- func SetKeen(k *keen.Client)
- func SetLogger(s *logrus.Logger)
- func SetMachineryRedisClient(s *redis.Client)
- func SetMachineryServer(s *machinery.Server)
- func SetPluginExtendedList(l []string)
- func SetPluginList(l []string)
- func SetPolr(s *polr.Polr)
- func SetRedisClient(s *redis.Client)
- func SetSession(s *shardmanager.Manager)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CacheCodec *cache.Codec
)
Functions ¶
func AddMachineryActiveWorker ¶
func AddMachineryActiveWorker(worker *machinery.Worker)
func GetElastic ¶
func GetFriends ¶
func GetGoogleDriveService ¶
func GetGoogleDriveService() *drive.Service
func GetMachineryActiveWorkers ¶
func GetMachineryActiveWorkers() (workers []*machinery.Worker)
func GetMachineryRedisClient ¶
func GetMachineryServer ¶
func GetMachineryServer() *machinery.Server
func GetPluginExtendedList ¶
func GetPluginExtendedList() []string
func GetPluginList ¶
func GetPluginList() []string
func GetRedisCacheCodec ¶
func GetRedisClient ¶
func GetSession ¶
func GetSession() *shardmanager.Manager
func HasElastic ¶
func HasElastic() bool
func HasGoogleDrive ¶
func HasGoogleDrive() bool
HasGoogleDrive simple check to confirm drive session was set
func HasMachineryRedisClient ¶
func HasMachineryRedisClient() bool
func RemoveMachineryActiveWorker ¶
func RemoveMachineryActiveWorker(worker *machinery.Worker)
func SetElastic ¶
func SetGoogleDriveService ¶
func SetGoogleDriveService(service *drive.Service)
func SetMachineryRedisClient ¶
func SetMachineryServer ¶
func SetMachineryServer(s *machinery.Server)
func SetPluginExtendedList ¶
func SetPluginExtendedList(l []string)
func SetPluginList ¶
func SetPluginList(l []string)
func SetRedisClient ¶
func SetSession ¶
func SetSession(s *shardmanager.Manager)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.