Documentation ¶ Index ¶ type Exchange func Start(exchanger *config.Exchanger) *Exchange func (exchange *Exchange) Put(key interface{}, value interface{}) error func (exchange *Exchange) Remove(key interface{}) error type Exchanger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Exchange ¶ type Exchange struct { // contains filtered or unexported fields } Exchange the envcd data exchange func Start ¶ func Start(exchanger *config.Exchanger) *Exchange Start envcd by envcd exchangerConnMetadata config @param exchangerConnMetadata the config for envcd func (*Exchange) Put ¶ func (exchange *Exchange) Put(key interface{}, value interface{}) error Put new data to Exchanger by key and value func (*Exchange) Remove ¶ func (exchange *Exchange) Remove(key interface{}) error Remove delete the data from Exchanger by key type Exchanger ¶ type Exchanger interface { // Put put data into exchanger // @param key data identity // @param value data Put(key interface{}, value interface{}) error // Remove remove data from exchanger // @param o data Remove(key interface{}) error } Exchanger exchanger interface Source Files ¶ View all Source files exchange.go Directories ¶ Show internal Expand all Path Synopsis etcd Click to show internal directories. Click to hide internal directories.