config

package
v3.1.9+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2018 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 {
	Addr             string `envconfig:"addr" default:":8080"`
	FeedBaseURL      string `envconfig:"feed_base_url" default:"http://blog.sourced.tech/json/"`
	PositionsBaseURL string `envconfig:"positions_base_url" default:"https://api.lever.co/v0/postings/sourced?mode=json"`
	SlackChannel     string `envconfig:"slack_channel" default:""`
	SlackinURL       string `envconfig:"slackin_url" default:"http://slackin:3000/invite"`
}

func Load

func Load() (*Config, error)

Jump to

Keyboard shortcuts

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