typex

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

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 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
)

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) Value

func (i CollectibleType) Value() (driver.Value, error)

func (CollectibleType) Values

func (CollectibleType) Values() []string

type ExchangeType

type ExchangeType uint64
const (
	ExchangeLiquidity ExchangeType = iota + 1
	ExchangeStaking
	ExchangeSwap
)

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) Value

func (i ExchangeType) Value() (driver.Value, error)

func (ExchangeType) Values

func (ExchangeType) 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) Value

func (i MetaverseType) Value() (driver.Value, error)

func (MetaverseType) Values

func (MetaverseType) Values() []string

type RSSType

type RSSType uint64
const (
	RSSFeed RSSType = iota + 1
)

func RSSTypeString

func RSSTypeString(s string) (RSSType, error)

RSSTypeString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.

func RSSTypeValues

func RSSTypeValues() []RSSType

RSSTypeValues returns all values of the enum

func (RSSType) IsARSSType

func (i RSSType) IsARSSType() bool

IsARSSType returns "true" if the value is listed in the enum definition. "false" otherwise

func (RSSType) MarshalJSON

func (i RSSType) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface for RSSType

func (RSSType) Name

func (r RSSType) Name() string

func (*RSSType) Scan

func (i *RSSType) Scan(value interface{}) error

func (RSSType) String

func (i RSSType) String() string

func (RSSType) Tag

func (r RSSType) Tag() tag.Tag

func (*RSSType) UnmarshalJSON

func (i *RSSType) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface for RSSType

func (RSSType) Value

func (i RSSType) Value() (driver.Value, error)

func (RSSType) Values

func (RSSType) Values() []string

type SocialType

type SocialType uint64
const (
	SocialComment SocialType = iota + 1
	SocialDelete
	SocialMint
	SocialPost
	SocialProfile
	SocialProxy
	SocialRevise
	SocialReward
	SocialShare
)

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) Value

func (i SocialType) Value() (driver.Value, error)

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) Value

func (i TransactionType) Value() (driver.Value, error)

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) Value

func (i UnknownType) Value() (driver.Value, error)

func (UnknownType) Values

func (UnknownType) Values() []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL