Documentation ¶
Overview ¶
Package backend implements etcd-play web.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WebCommand = &cobra.Command{ Use: "web", Short: "web plays etcd in web browser.", Run: CommandFunc, } )
Functions ¶
func CommandFunc ¶
Types ¶
type ContextAdapter ¶
type ContextAdapter struct {
// contains filtered or unexported fields
}
func (*ContextAdapter) ServeHTTP ¶
func (ca *ContextAdapter) ServeHTTP(w http.ResponseWriter, req *http.Request)
type ContextHandler ¶
type ContextHandlerFunc ¶
func (ContextHandlerFunc) ServeHTTPContext ¶
func (f ContextHandlerFunc) ServeHTTPContext(ctx context.Context, w http.ResponseWriter, req *http.Request) error
Click to show internal directories.
Click to hide internal directories.