Skip to content
Snippets Groups Projects
Commit fbc0ebdf authored by Alex Ellis (OpenFaaS Ltd)'s avatar Alex Ellis (OpenFaaS Ltd)
Browse files

Add comment to middleware

parent 4f9c61b5
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,8 @@ package middleware
import "net/http"
// AuthInjector is an interface for injecting authentication information into a request
// which will be proxied or made to a remote/upstream service.
type AuthInjector interface {
Inject(r *http.Request)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment