Expose route and app models to RunnerCall for extensions (alternative 2) (#880)

This commit is contained in:
Dario Domizioli
2018-03-22 20:07:39 +00:00
committed by Gerardo Viedma
parent 563a4576ef
commit 8df8ed6360
2 changed files with 15 additions and 0 deletions

View File

@@ -126,6 +126,9 @@ type Call struct {
// Config is the set of configuration variables for the call
Config Config `json:"config,omitempty" db:"-"`
// Annotations is the set of annotations for the app/route of the call.
Annotations Annotations `json:"annotations,omitempty" db:"-"`
// Headers are headers from the request that created this call
Headers http.Header `json:"headers,omitempty" db:"-"`