config

package
v0.0.0-...-5710dc2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: MIT 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 {
	Http struct {
		Port     int
		Endpoint string
		Enabled  bool
	}
	Redis struct {
		Url     string
		List    string
		Enabled bool
	}
	Fcm struct {
		Token string
	}
	Apns struct {
		Gateway string
		Cert    string
		Key     string
	}
}

Config file structure

func CreateConfigurationFromFile

func CreateConfigurationFromFile(configFile string) (Config, error)

CreateConfigurationFromFile Returns a new configuration loaded from a file

Jump to

Keyboard shortcuts

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