platforms

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ProviderSet provides ConfiguredPlatforms for use in production.
	ProviderSet = wire.NewSet(Provide, zoom.ProviderProductionSet, webex.ProviderProductionSet)
)

Functions

func NewPlatform

func NewPlatform(name string, actions domain.MeetingPlatformActions, cfg *Config) *domain.MeetingPlatform

NewPlatform returns a MeetingPlatform with the given name, actions, and config.

func Provide

func Provide(zoomActions *zoom.ZoomActions, webexActions *webex.WebexActions, v *viper.Viper) domain.ConfiguredPlatforms

Provide returns ConfiguredPlatforms for the application using the provided ZoomActions, WebexActions, and Viper.

Types

type Config

type Config struct {
	OAuthRedirectURL  string
	OAuthClientID     string
	OAuthClientSecret string
	OAuthScopes       []string
	OAuthAuthURL      string
	OAuthTokenURL     string
}

Config contains OAuth configuration information for a MeetingPlatform.

func Cfg

func Cfg(v *viper.Viper, name string) *Config

Cfg returns a Config for a MeetingPlatform with the provided name using a Viper to get the configuration information.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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