Documentation ¶
Index ¶
- func CollectibleTypeStrings() []string
- func ExchangeTypeStrings() []string
- func GovernanceTypeStrings() []string
- func MetaverseTypeStrings() []string
- func RSSTypeStrings() []string
- func SocialTypeStrings() []string
- func TransactionTypeStrings() []string
- func UnknownTypeStrings() []string
- type CollectibleType
- func (i CollectibleType) IsACollectibleType() bool
- func (i CollectibleType) MarshalJSON() ([]byte, error)
- func (i CollectibleType) Name() string
- func (i *CollectibleType) Scan(value interface{}) error
- func (i CollectibleType) String() string
- func (i CollectibleType) Tag() tag.Tag
- func (i *CollectibleType) UnmarshalJSON(data []byte) error
- func (i CollectibleType) Value() (driver.Value, error)
- func (CollectibleType) Values() []string
- type ExchangeType
- func (i ExchangeType) IsAExchangeType() bool
- func (i ExchangeType) MarshalJSON() ([]byte, error)
- func (i ExchangeType) Name() string
- func (i *ExchangeType) Scan(value interface{}) error
- func (i ExchangeType) String() string
- func (i ExchangeType) Tag() tag.Tag
- func (i *ExchangeType) UnmarshalJSON(data []byte) error
- func (i ExchangeType) Value() (driver.Value, error)
- func (ExchangeType) Values() []string
- type GovernanceType
- func (i GovernanceType) IsAGovernanceType() bool
- func (i GovernanceType) MarshalJSON() ([]byte, error)
- func (i GovernanceType) Name() string
- func (i *GovernanceType) Scan(value interface{}) error
- func (i GovernanceType) String() string
- func (i GovernanceType) Tag() tag.Tag
- func (i *GovernanceType) UnmarshalJSON(data []byte) error
- func (i GovernanceType) Value() (driver.Value, error)
- func (GovernanceType) Values() []string
- type MetaverseType
- func (i MetaverseType) IsAMetaverseType() bool
- func (i MetaverseType) MarshalJSON() ([]byte, error)
- func (i MetaverseType) Name() string
- func (i *MetaverseType) Scan(value interface{}) error
- func (i MetaverseType) String() string
- func (i MetaverseType) Tag() tag.Tag
- func (i *MetaverseType) UnmarshalJSON(data []byte) error
- func (i MetaverseType) Value() (driver.Value, error)
- func (MetaverseType) Values() []string
- type RSSType
- func (i RSSType) IsARSSType() bool
- func (i RSSType) MarshalJSON() ([]byte, error)
- func (r RSSType) Name() string
- func (i *RSSType) Scan(value interface{}) error
- func (i RSSType) String() string
- func (r RSSType) Tag() tag.Tag
- func (i *RSSType) UnmarshalJSON(data []byte) error
- func (i RSSType) Value() (driver.Value, error)
- func (RSSType) Values() []string
- type SocialType
- func (i SocialType) IsASocialType() bool
- func (i SocialType) MarshalJSON() ([]byte, error)
- func (i SocialType) Name() string
- func (i *SocialType) Scan(value interface{}) error
- func (i SocialType) String() string
- func (i SocialType) Tag() tag.Tag
- func (i *SocialType) UnmarshalJSON(data []byte) error
- func (i SocialType) Value() (driver.Value, error)
- func (SocialType) Values() []string
- type TransactionType
- func (i TransactionType) IsATransactionType() bool
- func (i TransactionType) MarshalJSON() ([]byte, error)
- func (i TransactionType) Name() string
- func (i *TransactionType) Scan(value interface{}) error
- func (i TransactionType) String() string
- func (i TransactionType) Tag() tag.Tag
- func (i *TransactionType) UnmarshalJSON(data []byte) error
- func (i TransactionType) Value() (driver.Value, error)
- func (TransactionType) Values() []string
- type UnknownType
- func (i UnknownType) IsAUnknownType() bool
- func (i UnknownType) MarshalJSON() ([]byte, error)
- func (i UnknownType) Name() string
- func (i *UnknownType) Scan(value interface{}) error
- func (i UnknownType) String() string
- func (i UnknownType) Tag() tag.Tag
- func (i *UnknownType) UnmarshalJSON(data []byte) error
- func (i UnknownType) Value() (driver.Value, error)
- func (UnknownType) Values() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectibleTypeStrings ¶
func CollectibleTypeStrings() []string
CollectibleTypeStrings returns a slice of all String values of the enum
func ExchangeTypeStrings ¶
func ExchangeTypeStrings() []string
ExchangeTypeStrings returns a slice of all String values of the enum
func GovernanceTypeStrings ¶ added in v0.5.6
func GovernanceTypeStrings() []string
GovernanceTypeStrings returns a slice of all String values of the enum
func MetaverseTypeStrings ¶
func MetaverseTypeStrings() []string
MetaverseTypeStrings returns a slice of all String values of the enum
func RSSTypeStrings ¶
func RSSTypeStrings() []string
RSSTypeStrings returns a slice of all String values of the enum
func SocialTypeStrings ¶
func SocialTypeStrings() []string
SocialTypeStrings returns a slice of all String values of the enum
func TransactionTypeStrings ¶
func TransactionTypeStrings() []string
TransactionTypeStrings returns a slice of all String values of the enum
func UnknownTypeStrings ¶
func UnknownTypeStrings() []string
UnknownTypeStrings returns a slice of all String values of the enum
Types ¶
type CollectibleType ¶
type CollectibleType uint64
const ( CollectibleApproval CollectibleType = iota + 1 CollectibleBurn CollectibleMint CollectibleTrade CollectibleTransfer CollectibleAuction )
func CollectibleTypeString ¶
func CollectibleTypeString(s string) (CollectibleType, error)
CollectibleTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func CollectibleTypeValues ¶
func CollectibleTypeValues() []CollectibleType
CollectibleTypeValues returns all values of the enum
func (CollectibleType) IsACollectibleType ¶
func (i CollectibleType) IsACollectibleType() bool
IsACollectibleType returns "true" if the value is listed in the enum definition. "false" otherwise
func (CollectibleType) MarshalJSON ¶
func (i CollectibleType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for CollectibleType
func (CollectibleType) Name ¶
func (i CollectibleType) Name() string
func (*CollectibleType) Scan ¶
func (i *CollectibleType) Scan(value interface{}) error
func (CollectibleType) String ¶
func (i CollectibleType) String() string
func (CollectibleType) Tag ¶
func (i CollectibleType) Tag() tag.Tag
func (*CollectibleType) UnmarshalJSON ¶
func (i *CollectibleType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CollectibleType
func (CollectibleType) Values ¶
func (CollectibleType) Values() []string
type ExchangeType ¶
type ExchangeType uint64
const ( ExchangeLiquidity ExchangeType = iota + 1 ExchangeStaking ExchangeSwap ExchangeLoan )
func ExchangeTypeString ¶
func ExchangeTypeString(s string) (ExchangeType, error)
ExchangeTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func ExchangeTypeValues ¶
func ExchangeTypeValues() []ExchangeType
ExchangeTypeValues returns all values of the enum
func (ExchangeType) IsAExchangeType ¶
func (i ExchangeType) IsAExchangeType() bool
IsAExchangeType returns "true" if the value is listed in the enum definition. "false" otherwise
func (ExchangeType) MarshalJSON ¶
func (i ExchangeType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for ExchangeType
func (ExchangeType) Name ¶
func (i ExchangeType) Name() string
func (*ExchangeType) Scan ¶
func (i *ExchangeType) Scan(value interface{}) error
func (ExchangeType) String ¶
func (i ExchangeType) String() string
func (ExchangeType) Tag ¶
func (i ExchangeType) Tag() tag.Tag
func (*ExchangeType) UnmarshalJSON ¶
func (i *ExchangeType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExchangeType
func (ExchangeType) Values ¶
func (ExchangeType) Values() []string
type GovernanceType ¶ added in v0.5.6
type GovernanceType uint64
const ( GovernanceProposal GovernanceType = iota + 1 // proposal GovernanceVote // vote )
func GovernanceTypeString ¶ added in v0.5.6
func GovernanceTypeString(s string) (GovernanceType, error)
GovernanceTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func GovernanceTypeValues ¶ added in v0.5.6
func GovernanceTypeValues() []GovernanceType
GovernanceTypeValues returns all values of the enum
func (GovernanceType) IsAGovernanceType ¶ added in v0.5.6
func (i GovernanceType) IsAGovernanceType() bool
IsAGovernanceType returns "true" if the value is listed in the enum definition. "false" otherwise
func (GovernanceType) MarshalJSON ¶ added in v0.5.6
func (i GovernanceType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for GovernanceType
func (GovernanceType) Name ¶ added in v0.5.6
func (i GovernanceType) Name() string
func (*GovernanceType) Scan ¶ added in v0.5.6
func (i *GovernanceType) Scan(value interface{}) error
func (GovernanceType) String ¶ added in v0.5.6
func (i GovernanceType) String() string
func (GovernanceType) Tag ¶ added in v0.5.6
func (i GovernanceType) Tag() tag.Tag
func (*GovernanceType) UnmarshalJSON ¶ added in v0.5.6
func (i *GovernanceType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for GovernanceType
func (GovernanceType) Values ¶ added in v0.5.6
func (GovernanceType) Values() []string
type MetaverseType ¶
type MetaverseType uint64
const ( MetaverseBurn MetaverseType = iota + 1 MetaverseMint MetaverseTrade MetaverseTransfer )
func MetaverseTypeString ¶
func MetaverseTypeString(s string) (MetaverseType, error)
MetaverseTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func MetaverseTypeValues ¶
func MetaverseTypeValues() []MetaverseType
MetaverseTypeValues returns all values of the enum
func (MetaverseType) IsAMetaverseType ¶
func (i MetaverseType) IsAMetaverseType() bool
IsAMetaverseType returns "true" if the value is listed in the enum definition. "false" otherwise
func (MetaverseType) MarshalJSON ¶
func (i MetaverseType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for MetaverseType
func (MetaverseType) Name ¶
func (i MetaverseType) Name() string
func (*MetaverseType) Scan ¶
func (i *MetaverseType) Scan(value interface{}) error
func (MetaverseType) String ¶
func (i MetaverseType) String() string
func (MetaverseType) Tag ¶
func (i MetaverseType) Tag() tag.Tag
func (*MetaverseType) UnmarshalJSON ¶
func (i *MetaverseType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for MetaverseType
func (MetaverseType) Values ¶
func (MetaverseType) Values() []string
type RSSType ¶
type RSSType uint64
func RSSTypeString ¶
RSSTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func (RSSType) IsARSSType ¶
IsARSSType returns "true" if the value is listed in the enum definition. "false" otherwise
func (RSSType) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for RSSType
func (*RSSType) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for RSSType
type SocialType ¶
type SocialType uint64
const ( SocialComment SocialType = iota + 1 SocialDelete SocialMint SocialPost SocialProfile SocialProxy SocialRevise SocialReward SocialLike )
func SocialTypeString ¶
func SocialTypeString(s string) (SocialType, error)
SocialTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func SocialTypeValues ¶
func SocialTypeValues() []SocialType
SocialTypeValues returns all values of the enum
func (SocialType) IsASocialType ¶
func (i SocialType) IsASocialType() bool
IsASocialType returns "true" if the value is listed in the enum definition. "false" otherwise
func (SocialType) MarshalJSON ¶
func (i SocialType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for SocialType
func (SocialType) Name ¶
func (i SocialType) Name() string
func (*SocialType) Scan ¶
func (i *SocialType) Scan(value interface{}) error
func (SocialType) String ¶
func (i SocialType) String() string
func (SocialType) Tag ¶
func (i SocialType) Tag() tag.Tag
func (*SocialType) UnmarshalJSON ¶
func (i *SocialType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for SocialType
func (SocialType) Values ¶
func (SocialType) Values() []string
type TransactionType ¶
type TransactionType uint64
const ( TransactionApproval TransactionType = iota + 1 TransactionBridge TransactionBurn TransactionMint TransactionTransfer )
func TransactionTypeString ¶
func TransactionTypeString(s string) (TransactionType, error)
TransactionTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func TransactionTypeValues ¶
func TransactionTypeValues() []TransactionType
TransactionTypeValues returns all values of the enum
func (TransactionType) IsATransactionType ¶
func (i TransactionType) IsATransactionType() bool
IsATransactionType returns "true" if the value is listed in the enum definition. "false" otherwise
func (TransactionType) MarshalJSON ¶
func (i TransactionType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for TransactionType
func (TransactionType) Name ¶
func (i TransactionType) Name() string
func (*TransactionType) Scan ¶
func (i *TransactionType) Scan(value interface{}) error
func (TransactionType) String ¶
func (i TransactionType) String() string
func (TransactionType) Tag ¶
func (i TransactionType) Tag() tag.Tag
func (*TransactionType) UnmarshalJSON ¶
func (i *TransactionType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TransactionType
func (TransactionType) Values ¶
func (TransactionType) Values() []string
type UnknownType ¶
type UnknownType uint64
const (
Unknown UnknownType = iota
)
func UnknownTypeString ¶
func UnknownTypeString(s string) (UnknownType, error)
UnknownTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func UnknownTypeValues ¶
func UnknownTypeValues() []UnknownType
UnknownTypeValues returns all values of the enum
func (UnknownType) IsAUnknownType ¶
func (i UnknownType) IsAUnknownType() bool
IsAUnknownType returns "true" if the value is listed in the enum definition. "false" otherwise
func (UnknownType) MarshalJSON ¶
func (i UnknownType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for UnknownType
func (UnknownType) Name ¶
func (i UnknownType) Name() string
func (*UnknownType) Scan ¶
func (i *UnknownType) Scan(value interface{}) error
func (UnknownType) String ¶
func (i UnknownType) String() string
func (UnknownType) Tag ¶
func (i UnknownType) Tag() tag.Tag
func (*UnknownType) UnmarshalJSON ¶
func (i *UnknownType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for UnknownType
func (UnknownType) Values ¶
func (UnknownType) Values() []string