config

package
v0.0.0-...-6a08245 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiConfig

type ApiConfig struct {
	Host    string
	Port    string
	Key     string
	SKey    string
	Verbose string
}

type Common

type Common struct {
	HistoryFile       string
	BaseDirectory     string
	ExportDirectory   string
	ConfigurationFile string
	ConfigurationJobs string
}

type Config

type Config struct {
	Api       ApiConfig
	Database  DataBase
	Common    Common
	Instagram Network
	Twitter   Network
}

func ParseConfig

func ParseConfig() (Config, error)

type DataBase

type DataBase struct {
	Name   string
	User   string
	Pass   string
	Host   string
	Driver string
	Port   string
}

type Network

type Network struct {
	Login    string
	Password string
	Api      ApiConfig
}

Jump to

Keyboard shortcuts

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