setting

package
v0.0.0-...-52ee78c Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SELECT = "select"
	FROM   = "from"
	AS     = ` as `
)

Variables

View Source
var (
	Cfg *ini.File

	AppPath    string
	CustomPath string
	CustomConf string

	// Log settings
	LogRootPath string
	LogModes    []string
	LogConfigs  []string
)
View Source
var (
	ImplConn *impalathing.Connection
)

Functions

func NewContext

func NewContext()

func NewServices

func NewServices()

func WorkDir

func WorkDir() string

Types

type Impala

type Impala struct {
	Host     string `ini:"HOST"`
	Port     int    `ini:"PORT"`
	Database string `ini:"DATABASE"`
}

type Request

type Request struct {
	Query   string `ini:"QUERY"`
	Headers []string
}
var Req Request

Jump to

Keyboard shortcuts

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