util

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Copyright (c) 2015 Gorka Lerchundi Osa. All rights reserved. Use of this source code is governed by the Apache License, Version 2.0 that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EtcdAddMember

func EtcdAddMember(url string, peerURL string) (member *client.Member, err error)

func EtcdClientURLFromIP

func EtcdClientURLFromIP(ip string) string

func EtcdListMembers

func EtcdListMembers(url string) (members []client.Member, err error)

func EtcdPeerURLFromIP

func EtcdPeerURLFromIP(ip string) string

func EtcdRemoveMember

func EtcdRemoveMember(url, removalID string) (err error)

func HttpGet

func HttpGet(url string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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