Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("not found") ErrEmptyHash = errors.New("empty hash") ErrEmptyID = errors.New("empty id") ErrEmptyBlockHeight = errors.New("empty block height") ErrEmptyAddress = errors.New("empty address") ErrEmptyCreatedAt = errors.New("empty created_at") ErrEmptyTransactionHash = errors.New("empty transaction hash") ErrEmptyTransactionBlockNumber = errors.New("empty transaction block number") ErrEmptyFromAddress = errors.New("empty from address") ErrEmptyToAddress = errors.New("empty to address") ErrEmptyContractAddress = errors.New("empty contract address") ErrEmptyStatus = errors.New("empty status") ErrEmptyOTP = errors.New("empty otp") ErrAlreadyExists = errors.New("already exists") )
Functions ¶
This section is empty.
Types ¶
type CommonFindParams ¶
type CommonFindParams struct {
IsAscOrdering bool `json:"is_asc_ordering"`
OrderBy string `json:"order_by"`
PageParams
}
func NewCommonFindParams ¶
func NewCommonFindParams() *CommonFindParams
func (*CommonFindParams) SetIsAscOrdering ¶
func (s *CommonFindParams) SetIsAscOrdering(v bool) *CommonFindParams
func (*CommonFindParams) SetOrderBy ¶
func (s *CommonFindParams) SetOrderBy(v string) *CommonFindParams
func (*CommonFindParams) SetPage ¶
func (s *CommonFindParams) SetPage(v *uint64) *CommonFindParams
func (*CommonFindParams) SetPageSize ¶
func (s *CommonFindParams) SetPageSize(v *uint64) *CommonFindParams
type FindResponse ¶
type FindResponse[T any] struct { Items []T `json:"items"` }
type PageParams ¶
Click to show internal directories.
Click to hide internal directories.