Back to godoc.org

Package v2http

v3.1.10+incompatible
Latest Go to latest

The latest major version is .

Published: Jul 14, 2017 | License: Apache-2.0 | Module: go.etcd.io/etcd

Overview

Package v2http provides etcd client and server implementations.

Index

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