const authPrefix …
const keysPrefix …
const machinesPrefix …
const membersPrefix …
const statsPrefix …
func NewClientHandler(lg *zap.Logger, server etcdserver.ServerPeer, timeout time.Duration) http.Handler { … }
func handleV2(lg *zap.Logger, mux *http.ServeMux, server etcdserver.ServerV2, timeout time.Duration) { … }
type keysHandler …
func (h *keysHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { … }
type machinesHandler …
func (h *machinesHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { … }
type membersHandler …
func (h *membersHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { … }
type statsHandler …
func (h *statsHandler) serveStore(w http.ResponseWriter, r *http.Request) { … }
func (h *statsHandler) serveSelf(w http.ResponseWriter, r *http.Request) { … }
func (h *statsHandler) serveLeader(w http.ResponseWriter, r *http.Request) { … }
func parseKeyRequest(r *http.Request, clock clockwork.Clock) (etcdserverpb.Request, bool, error) { … }
func writeKeyEvent(w http.ResponseWriter, resp etcdserver.Response, noValueOnSuccess bool) error { … }
func writeKeyNoAuth(w http.ResponseWriter) { … }
func writeKeyError(lg *zap.Logger, w http.ResponseWriter, err error) { … }
func handleKeyWatch(ctx context.Context, lg *zap.Logger, w http.ResponseWriter, resp etcdserver.Response, stream bool) { … }
func trimEventPrefix(ev *v2store.Event, prefix string) *v2store.Event { … }
func trimNodeExternPrefix(n *v2store.NodeExtern, prefix string) { … }
func trimErrorPrefix(err error, prefix string) error { … }
func unmarshalRequest(lg *zap.Logger, r *http.Request, req json.Unmarshaler, w http.ResponseWriter) bool { … }
func getID(lg *zap.Logger, p string, w http.ResponseWriter) (types.ID, bool) { … }
func getUint64(form url.Values, key string) (i uint64, err error) { … }
func getBool(form url.Values, key string) (b bool, err error) { … }
func trimPrefix(p, prefix string) (s string) { … }
func newMemberCollection(ms []*membership.Member) *httptypes.MemberCollection { … }
func newMember(m *membership.Member) httptypes.Member { … }