etcdhttp

package
v2.3.0-alpha.0....-d62edfb Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2015 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Package etcdhttp provides etcd client and server implementations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientHandler

func NewClientHandler(server *etcdserver.EtcdServer, timeout time.Duration) http.Handler

NewClientHandler generates a muxed http.Handler with the given parameters to serve etcd client requests.

func NewPeerHandler

func NewPeerHandler(cluster etcdserver.Cluster, raftHandler http.Handler) http.Handler

NewPeerHandler generates an http.Handler to handle etcd peer (raft) requests.

Types

This section is empty.

Directories

Path Synopsis
Package httptypes defines how etcd's HTTP API entities are serialized to and deserialized from JSON.
Package httptypes defines how etcd's HTTP API entities are serialized to and deserialized from JSON.

Jump to

Keyboard shortcuts

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