config

package
v0.0.0-...-3db1f35 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2019 License: MIT Imports: 6 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 {
	Pulse   configPulse   `yaml:"pulse"`
	Crawler configCrawler `yaml:"crawler"`
}

pulse configuration structure

func NewConfigFromFile

func NewConfigFromFile(configFilePath string) Config

Create a Config from yaml file

func NewConfigFromString

func NewConfigFromString(data string) Config

Create a Config from a yaml string

Jump to

Keyboard shortcuts

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