Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSitesHandler ¶
NewSitesHandler creates a new SitesHandler with the given Sites controller.
Types ¶
type CreateSiteInput ¶
type CreateSiteInput struct {
Name string `path:"siteName" json:"name" example:"fizz-buzz"`
}
CreateSiteInput is the input for the CreateSite operation.
type CreateSiteOutput ¶
type CreateSiteOutput struct{}
CreateSiteOutput is the output for the PutSite operation.
type GetSiteInput ¶
type GetSiteInput struct {
Name string `path:"siteName" json:"name" example:"fizz-buzz"`
}
GetSiteInput is the input for the GetSite operation.
type GetSiteOutput ¶
type GetSiteOutput struct{}
GetSiteOutput is the output for the GetSite operation.
type PutSiteFileInput ¶
type PutSiteFileInput struct {
SiteName string `path:"siteName" json:"siteName" example:"fizz-buzz" required:"true"`
Path string `path:"path" json:"path" example:"index.html" required:"true"`
RawBody []byte `contentType:"application/octet-stream" body:"body" json:"body" example:""`
}
PutSiteFileInput is the input for the PutSiteFile operation.
type PutSiteFileOutput ¶
type PutSiteFileOutput struct{}
PutSiteFileOutput is the output for the PutSiteFile operation.
Click to show internal directories.
Click to hide internal directories.