Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateSiteInput ¶
type CreateSiteInput struct {
Body struct {
Name string `body:"name" json:"name" example:"fizzy-buzzy" doc:"The name of the site (e.g. fizzy-buzzy)."`
}
}
CreateSiteInput is the input for the CreateSite operation.
type CreateSiteOutput ¶
CreateSiteOutput is the output for the CreateSite operation.
type GetSiteInput ¶
type GetSiteInput struct {
// Name is the name of the site to retrieve.
Name string `json:"name" query:"name" example:"my-site" doc:"The name of the site to retrieve."`
}
GetSiteInput is the input for the GetSite operation.
type GetSiteOutput ¶
type GetSiteOutput struct {
Body GetSiteOutputBody `json:"body"`
}
GetSiteOutput is the output for the GetSite operation.
type GetSiteOutputBody ¶ added in v0.3.0
GetSiteOutputBody is the body of the GetSite output.
type UploadFileInput ¶ added in v0.3.0
type UploadFileInput struct {
ID string `path:"siteId" json:"siteId" example:"1bd3f34f-8d15-4818-816e-6fe6c0a3a847" doc:"The ID of the site."`
Filename string `query:"fileName" json:"fileName" example:"index.html" doc:"The filename of the file."`
RawBody []byte
}
UploadFileInput is the input for the UploadFile operation.
type UploadFileOutput ¶ added in v0.3.0
type UploadFileOutput struct {
Body string `json:"body"`
}
UploadFileOutput is the output of the UploadFile operation.
Click to show internal directories.
Click to hide internal directories.