aicra/api/context.go

14 lines
171 B
Go
Raw Normal View History

package api
import (
"context"
"net/http"
)
// Context for api handlers
type Context struct {
context.Context
Request *http.Request
Response http.ResponseWriter
}