config

package
v0.0.0-...-a5ce4f9 Latest Latest
Warning

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

Go to latest
Published: May 25, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Twitter twitterConfiguration `json:"twitter"`
	Github  GithubConfiguration  `json:"github"`
	Redis   RedisConfiguration   `json:"redis"`
}

func NewConfiguration

func NewConfiguration(configFile *string) (*Configuration, error)

func (*Configuration) ConnectRedis

func (config *Configuration) ConnectRedis() redis.Conn

type GithubConfiguration

type GithubConfiguration struct {
	APIToken string `json:"api-token"`
}

type RedisConfiguration

type RedisConfiguration struct {
	Url  string `json:"url"`
	Auth string `json:"auth"`
}

Jump to

Keyboard shortcuts

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