env

package
v0.0.0-...-447add3 Latest Latest
Warning

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

Go to latest
Published: May 15, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodisEnv

type CodisEnv struct {
	// contains filtered or unexported fields
}

func (*CodisEnv) DashboardAddr

func (e *CodisEnv) DashboardAddr() string

func (*CodisEnv) NewZkConn

func (e *CodisEnv) NewZkConn() (zkhelper.Conn, error)

func (*CodisEnv) ProductName

func (e *CodisEnv) ProductName() string

type Env

type Env interface {
	ProductName() string
	DashboardAddr() string
	NewZkConn() (zkhelper.Conn, error)
}

func LoadCodisEnv

func LoadCodisEnv(cfg *cfg.Cfg) Env

Jump to

Keyboard shortcuts

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