v2http

package
v3.0.11+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2016 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package v2http 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(s *etcdserver.EtcdServer) http.Handler

NewPeerHandler generates an http.Handler to handle etcd peer 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