Back to

Package v2http

Latest Go to latest

The latest major version is .

Published: Jul 14, 2017 | License: Apache-2.0 | Module:


Package v2http provides etcd client and server implementations.


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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier