Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountActivitiesRequest ¶
type AccountActivitiesRequest struct { Account string `param:"account" validate:"required"` Limit int `query:"limit" validate:"min=1,max=100" default:"100"` ActionLimit int `query:"action_limit" validate:"min=1,max=20" default:"10"` Cursor *string `query:"cursor"` SinceTimestamp *uint64 `query:"since_timestamp"` UntilTimestamp *uint64 `query:"until_timestamp"` Status *bool `query:"success"` Direction *filter.Direction `query:"direction"` Network []filter.Network `query:"network"` Tag []filter.Tag `query:"tag"` Type []filter.Type `query:"-"` Platform []filter.Platform `query:"platform"` }
type ActivitiesResponse ¶
type ActivitiesResponse struct { Data []*schema.Feed `json:"data"` Meta *MetaCursor `json:"meta,omitempty"` }
type ActivityRequest ¶
type ActivityResponse ¶
type ActivityResponse struct { Data *schema.Feed `json:"data"` Meta *MetaTotalPages `json:"meta"` }
type Hub ¶
type Hub struct {
// contains filtered or unexported fields
}
func (*Hub) GetAccountActivities ¶
func (*Hub) GetActivitiesCount ¶
func (*Hub) GetActivity ¶
type MetaCursor ¶
type MetaCursor struct {
Cursor string `json:"cursor"`
}
type MetaTotalPages ¶
type MetaTotalPages struct {
TotalPages int `json:"totalPages"`
}
type StatisticResponse ¶
Click to show internal directories.
Click to hide internal directories.