config

package
v0.0.0-...-61222dd Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadApp

func LoadApp()

LoadApp loads application configuration

func LoadConfig

func LoadConfig() error

LoadConfig initiates of config load

func LoadConfigWithPath

func LoadConfigWithPath(path string) error

Types

type Application

type Application struct {
	Name                string
	Host                string
	Port                int
	ShopemaaKey         string
	ShopemaaSecret      string
	TwilioUsername      string
	TwilioPassword      string
	URL                 string
	FacebookPageID      string
	FacebookAccessToken string
	ActiveProcessor     string
}

Application holds the application configuration

func App

func App() *Application

App returns the default application configuration

Jump to

Keyboard shortcuts

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