config

package
v0.0.0-...-732a6c7 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

Config - structure to hold the configuration for passport

func New

func New(paths []string) *Config

New creates a new configuration

func (*Config) ConnectionString

func (c *Config) ConnectionString() string

ConnectionString - get the connectionstring to connect to postgres

func (*Config) ConnectionURL

func (c *Config) ConnectionURL() string

ConnectionURL - get the connection URL to connect to postgres

func (*Config) Host

func (c *Config) Host() string

Host - get the host from config

func (*Config) MaxPoolSize

func (c *Config) MaxPoolSize() int

MaxPoolSize - get the max pool size for db connections

func (*Config) OAuthClientID

func (c *Config) OAuthClientID() string

OAuthClientID - get the oauth client id

func (*Config) OAuthClientSecret

func (c *Config) OAuthClientSecret() string

OAuthClientSecret - get the oauth client secret

func (*Config) Port

func (c *Config) Port() string

Port - get the port from config

Jump to

Keyboard shortcuts

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