mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
ec7b6238c3
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
12 lines
246 B
Go
12 lines
246 B
Go
package session
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"golang.org/x/net/context"
|
|
)
|
|
|
|
// Backend abstracts an session receiver from an http request.
|
|
type Backend interface {
|
|
HandleHTTPRequest(ctx context.Context, w http.ResponseWriter, r *http.Request) error
|
|
}
|