*: rename etcd to etcdserver

release-2.0
Xiang Li 2014-08-22 16:46:56 -07:00 committed by Yicheng Qin
parent 2ff75cda0e
commit f6a9599eb4
32 changed files with 34 additions and 34 deletions

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"errors"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"crypto/tls"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"fmt"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"fmt"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"fmt"

View File

@ -1,4 +1,4 @@
package etcd
package etcdserver
import (
"time"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"encoding/json"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"bytes"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"encoding/json"

View File

@ -1,4 +1,4 @@
package etcd
package etcdserver
import (
"math"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"encoding/json"

View File

@ -1,4 +1,4 @@
package etcd
package etcdserver
import (
"sync"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"fmt"

View File

@ -1,4 +1,4 @@
package etcd
package etcdserver
import (
"sync"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"encoding/json"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"fmt"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"bytes"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"encoding/json"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"net/http"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"bytes"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"encoding/json"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"encoding/json"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"net/http"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"encoding/json"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"fmt"

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"fmt"

View File

@ -11,7 +11,7 @@
It has these top-level messages:
Cmd
*/
package etcd
package etcdserver
import proto "code.google.com/p/gogoprotobuf/proto"
import json "encoding/json"

View File

@ -1,4 +1,4 @@
package etcd;
package etcdserver;
import "code.google.com/p/gogoprotobuf/gogoproto/gogo.proto";

View File

@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
package etcd
package etcdserver
import (
"strings"

View File

@ -1,4 +1,4 @@
package etcd
package etcdserver
import (
"fmt"

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package etcd
package etcdserver
import (
"net/http"

View File

@ -10,13 +10,13 @@ import (
"time"
"github.com/coreos/etcd/conf"
"github.com/coreos/etcd/etcd"
"github.com/coreos/etcd/etcdserver"
)
func main() {
var cfg = conf.New()
if err := cfg.Load(os.Args[1:]); err != nil {
fmt.Println(etcd.Usage() + "\n")
fmt.Println(etcdserver.Usage() + "\n")
fmt.Println(err.Error(), "\n")
os.Exit(1)
} else if cfg.ShowVersion {
@ -26,7 +26,7 @@ func main() {
os.Exit(0)
}
e, err := etcd.New(cfg)
e, err := etcdserver.New(cfg)
if err != nil {
log.Fatal("etcd:", err)
}