Documentation
¶
Index ¶
- Variables
- type CatResponse
- type CopyRequest
- type CopyResponse
- type DeleteResponse
- type DeployURLsDeleteResponse
- type DeployURLsResponse
- type DeployURLsResponseItem
- type DeploymentsResponse
- type DeploymentsResponseItem
- type ExposeRequest
- type ExposeResponse
- type FailureResponse
- type GCResponse
- type Key
- type Kind
- type ListResponse
- type ListResponseItem
- type MoveRequest
- type MoveResponse
- type SetRequest
- type SetResponse
- type TailResponse
- type TailResponseItem
- type UploadRequest
- type UploadResponse
Constants ¶
This section is empty.
Variables ¶
View Source
var Kinds = []Kind{ KindFile, KindPaste, KindRedir, }
Functions ¶
This section is empty.
Types ¶
type CatResponse ¶
type CopyRequest ¶
type CopyResponse ¶
type CopyResponse struct {
URL string `json:"url"`
}
type DeleteResponse ¶
type DeleteResponse struct {
Message string `json:"message"`
}
type DeployURLsDeleteResponse ¶
type DeployURLsDeleteResponse struct {
Message string `json:"message"`
}
type DeployURLsResponse ¶
type DeployURLsResponse struct {
Tokens []DeployURLsResponseItem `json:"tokens"`
}
type DeployURLsResponseItem ¶
type DeploymentsResponse ¶
type DeploymentsResponse struct {
Deployments []DeploymentsResponseItem `json:"deployments"`
}
type DeploymentsResponseItem ¶
type ExposeRequest ¶
type ExposeResponse ¶
type FailureResponse ¶
type FailureResponse struct {
Message string `json:"message"`
}
type GCResponse ¶
type GCResponse struct {
DeletedHashes []string `json:"deleted"`
}
type ListResponse ¶
type ListResponse struct {
Items []ListResponseItem `json:"items"`
}
type ListResponseItem ¶
type MoveRequest ¶
type MoveResponse ¶
type MoveResponse struct {
URL string `json:"url"`
}
type SetRequest ¶
type SetResponse ¶
type SetResponse struct {
Modified bool `json:"modified"`
}
type TailResponse ¶
type TailResponse struct {
Logs []TailResponseItem `json:"logs"`
}
type TailResponseItem ¶
type TailResponseItem struct {
ID int64 `json:"id"`
CreatedAt time.Time `json:"created_at"`
Method string `json:"method"`
Request string `json:"request"`
IPAddress string `json:"ip_address"`
UserAgent string `json:"user_agent"`
BaseURL string `json:"base_url"`
Renamed bool `json:"renamed"`
Exists bool `json:"exists"`
Ref string `json:"ref"`
}
type UploadRequest ¶
type UploadResponse ¶
type UploadResponse struct {
URL string `json:"url"`
}
Click to show internal directories.
Click to hide internal directories.