conf

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OAuth2TokenCfgValPrefix    = "oauth2tokenpath"
	AhaOauth2TokenPath         = "oauth2tokenpathaha"
	GoogleOauth2TokenPath      = "oauth2tokenpathgoogle"
	FacebookOauth2TokenPath    = "oauth2tokenpathfacebook"
	RingcentralOauth2TokenPath = "oauth2tokenpathringcentral"
)

Variables

View Source
var OAuth2Configs = ms.NewConfigMoreSet()

Functions

func GetTokenPath

func GetTokenPath(providerKey string) string

func InitOAuth2Config

func InitOAuth2Config() error

func InitSession

func InitSession(logger *beegoutil.BeegoLogsMore)

Types

type Config

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

func NewConfig

func NewConfig() Config

func (*Config) Logger

func (cfg *Config) Logger() *beegoutil.BeegoLogsMore

Jump to

Keyboard shortcuts

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