config

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessToken

type AccessToken struct {
	Token  string `json:"token"`
	Secret string `json:"secret"`
}

type FavPConfig

type FavPConfig struct {
	Consumer     TwitterConsumer `json:"twitter_consumer"`
	AccessToken  AccessToken     `json:"access_token"`
	WebHookURL   string          `json:"web_hook_url"`
	DbDsn        string          `json:"db_dsn"`
	TemplatePath string          `json:"template_path"`
}

func Parse

func Parse(filename string) (FavPConfig, error)

type TwitterConsumer

type TwitterConsumer struct {
	ConsumerKey    string `json:"consumer_key"`
	ConsumerSecret string `json:"consumer_secret"`
}

Jump to

Keyboard shortcuts

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