platforms

package
v0.0.0-...-19a1b97 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package platforms contains the Platform interface and related.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(cfg *config.Config, db *gorm.DB, cdb cache.Cache) (map[string]base.Platform, error)

Build builds connections to enabled platforms based on the config.

func StartHandling

func StartHandling(ctx context.Context, p base.Platform, db *gorm.DB, cdb cache.Cache, cfg *config.Config, allPlatforms map[string]base.Platform, logIncoming, logOutgoing bool)

StartHandling starts handling commands coming from the given platform. This function blocks and should be run within a goroutine.

Types

This section is empty.

Directories

Path Synopsis
Package twitch handles Twitch-specific logic.
Package twitch handles Twitch-specific logic.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL