docker: github.com/docker/docker/api/server/router/session Index | Files

package session

import "github.com/docker/docker/api/server/router/session"

Index

Package Files

backend.go session.go session_routes.go

func NewRouter Uses

func NewRouter(b Backend) router.Router

NewRouter initializes a new session router

type Backend Uses

type Backend interface {
    HandleHTTPRequest(ctx context.Context, w http.ResponseWriter, r *http.Request) error
}

Backend abstracts an session receiver from an http request.

Package session imports 4 packages (graph) and is imported by 3 packages. Updated 2018-09-19. Refresh now. Tools for package owners.