package etcdhttp
import "github.com/coreos/etcd/etcdserver/etcdhttp"
Package etcdhttp provides etcd client and server implementations.
Index ¶
- func NewClientHandler(server *etcdserver.EtcdServer, timeout time.Duration) http.Handler
- func NewPeerHandler(s *etcdserver.EtcdServer) http.Handler
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 ¶
Path | Synopsis |
---|---|
etcdserver/etcdhttp/httptypes | Package httptypes defines how etcd's HTTP API entities are serialized to and deserialized from JSON. |
- Version
- v2.3.8+incompatible (latest)
- Published
- Feb 16, 2017
- Platform
- linux/amd64
- Imports
- 32 packages
- Last checked
- 19 hours ago –
Tools for package owners.