go-sdk
go-sdk copied to clipboard
invoke service provide more information like url...
when i register handler in go sdk, i want get url and more http information, but InvocationEvent struct only provide Data、ContentType、QueryString、Verb、DataTypeURL。
type InvocationEvent struct {
// Data is the payload that the input bindings sent.
Data []byte `json:"data"`
// ContentType of the Data
ContentType string `json:"contentType"`
// DataTypeURL is the resource URL that uniquely identifies the type of the serialized
DataTypeURL string `json:"typeUrl,omitempty"`
// Verb is the HTTP verb that was used to invoke this service.
Verb string `json:"-"`
// QueryString represents an encoded HTTP url query string in the following format: name=value&name2=value2
QueryString string `json:"-"`
}
So is there any way I can access this information? thanks