Documentation ¶
Index ¶
Constants ¶
View Source
const ( ListRoot = "root" ListExclusion = "exclusion" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetDiffListRequest ¶
type GetDiffListRequest struct { NameA string `url:"nameA"` NameB string `url:"nameB"` Type string }
func NewGetDiffListRequest ¶
func NewGetDiffListRequest(r *http.Request) (GetDiffListRequest, error)
func (*GetDiffListRequest) Validate ¶
func (r *GetDiffListRequest) Validate() error
type GetExclusionListRequest ¶
type GetExclusionListRequest struct {
Status string `url:"status"`
}
func NewGetExclusionListRequest ¶
func NewGetExclusionListRequest(r *http.Request) (GetExclusionListRequest, error)
func (*GetExclusionListRequest) Validate ¶
func (r *GetExclusionListRequest) Validate() error
type GetRootNodeApprovalsRequest ¶
type GetRootNodeApprovalsRequest struct { Sort string `schema:"sort"` Cursor *string `schema:"page[cursor],omitempty"` Limit uint64 `schema:"page[limit]"` Cycles uint64 `schema:"filter[cycles],omitempty"` RootAddress *string `schema:"filter[rootAddress],omitempty"` BlocksDelay uint64 `schema:"filter[blocksDelay],omitempty"` }
func NewGetRootNodeApprovalsRequest ¶
func NewGetRootNodeApprovalsRequest(r *http.Request) (GetRootNodeApprovalsRequest, error)
func (*GetRootNodeApprovalsRequest) Validate ¶
func (r *GetRootNodeApprovalsRequest) Validate() error
type GetRootNodesListRequest ¶
type GetRootNodesListRequest struct {
Status string `url:"status"`
}
func NewGetRootNodesListRequest ¶
func NewGetRootNodesListRequest(r *http.Request) (GetRootNodesListRequest, error)
func (*GetRootNodesListRequest) Validate ¶
func (r *GetRootNodesListRequest) Validate() error
type GetSystemContractListRequest ¶
type GetSystemContractListRequest struct { Sort string `schema:"sort"` Cursor *uint64 `schema:"page[cursor],omitempty"` Limit uint64 `schema:"page[limit]"` Contracts []string `schema:"filter[contracts]"` Keys []string `schema:"filter[keys]"` }
func NewGetSystemContractListRequest ¶
func NewGetSystemContractListRequest(r *http.Request) (GetSystemContractListRequest, error)
func (*GetSystemContractListRequest) Validate ¶
func (r *GetSystemContractListRequest) Validate() error
type GetVotingEventsRequest ¶
type GetVotingEventsRequest struct { Sort string `schema:"sort"` Cursor *string `schema:"page[cursor],omitempty"` Limit uint64 `schema:"page[limit]"` StartBlock uint64 `schema:"filter[startBlock],omitempty"` AccountAddress string `schema:"filter[account],omitempty"` }
func NewGetVotingEventsRequest ¶
func NewGetVotingEventsRequest(r *http.Request) (GetVotingEventsRequest, error)
func (*GetVotingEventsRequest) Validate ¶
func (r *GetVotingEventsRequest) Validate() error
Click to show internal directories.
Click to hide internal directories.