package v2http

import "github.com/coreos/etcd/etcdserver/api/v2http"

Package v2http provides etcd client and server implementations.

Index

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.

Source Files

capability.go client.go client_auth.go doc.go http.go metrics.go peer.go

Directories

PathSynopsis
etcdserver/api/v2http/httptypesPackage httptypes defines how etcd's HTTP API entities are serialized to and deserialized from JSON.
Version
v3.2.2+incompatible
Published
Jul 7, 2017
Platform
linux/amd64
Imports
31 packages
Last checked
2 seconds ago

Tools for package owners.