providers

package
v0.0.0-...-e6f94fa Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrMissingDiscoveryEndpoint defines the error of an discovery endpoint is missing.
	ErrMissingDiscoveryEndpoint = fmt.Errorf("missing discovery endpoint")
)

Functions

func Register

func Register(opts ...Option) error

Register does the registering of providers for goth.

Types

type Option

type Option func(o *Options)

Option defines a single option function.

func WithConfig

func WithConfig(v string) Option

WithConfig provides a function to set the config option.

type Options

type Options struct {
	Config string
}

Options defines the available options for this package.

type Providers

type Providers struct {
	// contains filtered or unexported fields
}

Providers simple stores the registered providers for goth.

Jump to

Keyboard shortcuts

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