config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2017 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(Flag string) (cfg interface{})

Load configuration

func Parse

func Parse(service string, section string) (interface{}, error)

Parse kulay config

Types

type JsonlConf

type JsonlConf struct {
	Path   string
	Rotate bool
	Batch  int
}

type RedisPubsubConf

type RedisPubsubConf struct {
	Host    string
	Port    string
	Pass    string
	DB      int
	Channel string
}

type RedisqConf

type RedisqConf struct {
	Host  string
	Port  string
	Pass  string
	DB    int
	Queue string
}

type SQSConf

type SQSConf struct {
	QueueUrl string
	Region   string
	Delete   bool
	Service  string
}

Jump to

Keyboard shortcuts

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