conf

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2019 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.NewConfigSet()

Functions

func GetTokenPath

func GetTokenPath(providerKey string) string

func InitOAuth2Config

func InitOAuth2Config() error

func InitSession

func InitSession()

Types

type Config added in v0.1.0

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

func NewConfig added in v0.1.0

func NewConfig() Config

func (*Config) Logger added in v0.1.0

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

Jump to

Keyboard shortcuts

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