Documentation ¶
Index ¶
- func InsertExchange(exchange Exchange) (int, error)
- func InsertExchangeChain(exchangeChain ExchangeChain) (int, error)
- func InsertExchangeChains(exchangeChains []ExchangeChain) error
- func InsertExchanges(exchanges []Exchange) error
- func RemoveExchange(exchangeID int) error
- func UpdateExchange(exchange Exchange) error
- func UpdateExchangeChainByUUID(exchangeChain ExchangeChain) error
- type Exchange
- type ExchangeChain
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertExchange ¶ added in v1.0.42
func InsertExchangeChain ¶ added in v1.0.42
func InsertExchangeChain(exchangeChain ExchangeChain) (int, error)
func InsertExchangeChains ¶ added in v1.0.42
func InsertExchangeChains(exchangeChains []ExchangeChain) error
func InsertExchanges ¶ added in v1.0.42
func RemoveExchange ¶ added in v1.0.42
func UpdateExchange ¶ added in v1.0.42
func UpdateExchangeChainByUUID ¶ added in v1.0.42
func UpdateExchangeChainByUUID(exchangeChain ExchangeChain) error
Types ¶
type Exchange ¶
type Exchange struct { ID *int `json:"id"` UUID string `json:"uuid"` Name string `json:"name"` AlternateName string `json:"alternateName"` ExchangeTypeID *int `json:"exchangeTypeId"` Url string `json:"url"` StartDate *time.Time `json:"startDate"` EndDate *time.Time `json:"endDate"` Description string `json:"description"` CreatedBy string `json:"createdBy"` CreatedAt time.Time `json:"createdAt"` UpdatedBy string `json:"updatedBy"` UpdatedAt time.Time `json:"updatedAt"` }
func GetExchange ¶ added in v1.0.42
func GetExchangeList ¶ added in v1.0.44
func GetExchanges ¶ added in v1.0.42
func GetExchangesByUUIDs ¶ added in v1.0.42
func GetStartAndEndDateDiffExchanges ¶ added in v1.0.42
type ExchangeChain ¶
type ExchangeChain struct { UUID string `json:"uuid"` ExchangeID *int `json:"exchangeId"` ChainID *int `json:"chainId"` Description string `json:"description"` CreatedBy string `json:"createdBy"` CreatedAt time.Time `json:"createdAt"` UpdatedBy string `json:"updatedBy"` UpdatedAt time.Time `json:"updatedAt"` }
Click to show internal directories.
Click to hide internal directories.