config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Config for logcool run.Loading configuration files and information, as well as logcool operating logic.

Index

Constants

View Source
const DEFAULTTEMPLATE = "./templates"

Variables

This section is empty.

Functions

func Command

func Command(template string) (confs []utils.Config)

load config from Command.

func Custom

func Custom(path string) (confs []utils.Config)

load config from user's template.

func Help

func Help()

Help information.

func LoadTemplates

func LoadTemplates() (confs []utils.Config)

load all templates in default dir.

func Run

func Run(confs []utils.Config) (err error)

Run logcool.

func Version

func Version()

Logcool's version information.

Types

This section is empty.

Jump to

Keyboard shortcuts

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