config

package
v0.0.0-...-2c0f4b9 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2022 License: MIT Imports: 2 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 {
	Host             string
	Port             int
	Debug            int
	Loglevel         log.Level
	DSN              string
	TwProxyPort      int
	TwProxyHost      string
	Path             string
	Domain           string
	MaxAge           int
	Secure           bool
	HttpOnly         bool
	AuthKey          string
	EncryptKey       string
	Testing          bool
	TwConsumerKey    string
	TwConsumerSecret string
	TwCallbackURL    string
	TemplatePath     string
	MgDomain         string
	MgAPIKEY         string
	From             string
	PemFile          string
	KeyFile          string
	TweetTTL         int
}

Config - app config

func GetConfig

func GetConfig() Config

GetConfig returns app config

Jump to

Keyboard shortcuts

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