Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FileCommand = &cobra.Command{ Use: "client.file", Short: "Listening config changes & modified local configuration", Run: func(cmd *cobra.Command, args []string) { etcd.Connect(etcdHosts, etcdCertFile, etcdKeyFile, etcdCaFile, etcdServerName) log.Info("Successfully connected to etcd server") wc := &client.EtcdFileWatcher{RetrySeconds: retrySeconds, StoreDir: storeDir, Tc: etcd.GetMetaCacheHandler()} wc.KeepEyesOnKeyWithPrefix(prefix) }, }
FileCommand : file storage watching command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.