Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "decentralized"
Variables ¶
This section is empty.
Functions ¶
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 *activityx.Direction `query:"direction"` Network []network.Network `query:"network"` Tag []tag.Tag `query:"tag"` Type []schema.Type `query:"-"` Platform []decentralized.Platform `query:"platform"` }
type ActivitiesResponse ¶
type ActivitiesResponse struct { Data []*activityx.Activity `json:"data"` Meta *MetaCursor `json:"meta,omitempty"` }
type ActivityRequest ¶
type ActivityResponse ¶
type ActivityResponse struct { Data *activityx.Activity `json:"data"` Meta *MetaTotalPages `json:"meta"` }
type Component ¶
type Component struct {
// contains filtered or unexported fields
}
func (*Component) CollectMetric ¶
func (*Component) GetAccountActivities ¶
func (*Component) GetActivity ¶
type MetaCursor ¶
type MetaCursor struct {
Cursor string `json:"cursor"`
}
type MetaTotalPages ¶
type MetaTotalPages struct {
TotalPages int `json:"totalPages"`
}
Click to show internal directories.
Click to hide internal directories.