config

package
v0.0.0-...-44bd235 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2022 License: MIT Imports: 4 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 {
	PORT                                  int
	GIN_MODE                              string
	CONTACT_FORM_NOTIFICATOR_ACCESS_TOKEN string
	ALLOWED_ORIGINS                       []string
}

func New

func New(filename string) (*Config, error)

func NewConfigMock

func NewConfigMock() *Config

func (*Config) Setup

func (c *Config) Setup() error

Jump to

Keyboard shortcuts

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