configuration

package
v0.0.0-...-a9e353d Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

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

Configuration wraps the configuration

func Configure

func Configure() *Configuration

Configure initialises the configuration and returns it.

func (Configuration) GoogleApiBase

func (c Configuration) GoogleApiBase() string

GoogleApiBase gets the base domain for contacting the Google Places API.

func (Configuration) GoogleApiKey

func (c Configuration) GoogleApiKey() string

GoogleApiKey gets the API key for contacting the Google Places API.

func (Configuration) MongoUri

func (c Configuration) MongoUri() string

MongoUri gets the uri to connect to the database.

Jump to

Keyboard shortcuts

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