Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Create ¶
type Create struct {
app.UpStream
Args *CreateArgs
}
type CreateArgs ¶
type CreateArgs struct {
Host ID `json:"host"`
Project ID `json:"project"`
Task ID `json:"task"`
}
type Delete ¶
type Delete struct {
Host ID `json:"host"`
Project ID `json:"project"`
Task ID `json:"task"`
ID ID `json:"id"`
}
type Get ¶
type Get struct {
Host ID `json:"host"`
Project ID `json:"project"`
Task *ID `json:"task,omitempty"`
IDs IDs `json:"ids,omitempty"`
CreatedOnMin *time.Time `json:"createdOnMin,omitempty"`
CreatedOnMax *time.Time `json:"createdOnMax,omitempty"`
CreatedBy *ID `json:"createdBy,omitempty"`
After *ID `json:"after,omitempty"`
Asc *bool `json:"asc,omitempty"`
Limit uint16 `json:"limit,omitempty"`
}
type GetContent ¶
type GetContent struct {
Host ID `json:"host"`
Project ID `json:"project"`
Task ID `json:"task"`
ID ID `json:"id"`
IsDownload bool `json:"isDownload"`
}
func (*GetContent) Do ¶
func (a *GetContent) Do(c *app.Client) (*app.DownStream, error)
func (*GetContent) MustDo ¶
func (a *GetContent) MustDo(c *app.Client) *app.DownStream
func (*GetContent) Path ¶
func (_ *GetContent) Path() string
Click to show internal directories.
Click to hide internal directories.