Skip to content

doublerr/goDiscoverEtcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

goDiscoverEtcd

goDiscoverEtcd is a simple library to query https://discovery.etcd.io/new and return a single URL which you can use to build your etcd cluster.

Installation

Just include the library in your go program:

import "github.com/doublerr/goDiscoverEtcd"

Usage

Here is an exmaple app:

package main

import "fmt"
import "github.com/doublerr/goDiscoverEtcd"

func main() {
    url := goDiscoverEtcd.GetDiscoveryURL(3)
    fmt.Printf(url)
}

Contributing

  1. Fork
  2. code
  3. contribute

Authors

Ryan Richard (ryanrichard07@gmail.com)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages