Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Function ¶
type Function struct {
lambda.FunctionConfiguration
Authorizer string //name of lambda function that act as authorizer
}
type Properties ¶
type Properties struct {
CodeUri string `json:",omitempty"`
Events map[string]*Resource
Path string `json:",omitempty"`
Method string `json:",omitempty"`
*Function
}
func (*Properties) CodeURL ¶
func (p *Properties) CodeURL(baseURL string) string
type ProxyResponse ¶
func (*ProxyResponse) Header ¶
func (w *ProxyResponse) Header() http.Header
func (*ProxyResponse) Update ¶
func (w *ProxyResponse) Update(writer http.ResponseWriter)
func (*ProxyResponse) WriteHeader ¶
func (w *ProxyResponse) WriteHeader(statusCode int)
type Resource ¶
type Resource struct {
Type string `json:",omitempty"`
Function *Function `json:",omitempty"`
Properties Properties `json:",omitempty"`
}
type Template ¶
func NewTemplateWithURL ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.