env

package
v0.0.0-...-70285c8 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

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

func LoadRebornEnv

func LoadRebornEnv(cfg *cfg.Cfg) Env

type RebornEnv

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

func (*RebornEnv) DashboardAddr

func (e *RebornEnv) DashboardAddr() string

func (*RebornEnv) NewCoordConn

func (e *RebornEnv) NewCoordConn() (zkhelper.Conn, error)

func (*RebornEnv) ProductName

func (e *RebornEnv) ProductName() string

func (*RebornEnv) StoreAuth

func (e *RebornEnv) StoreAuth() string

func (*RebornEnv) String

func (e *RebornEnv) String() string

Jump to

Keyboard shortcuts

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