Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDBConnection ¶
func GetDBConnection(setting common.GalileoSetting) *gorm.DB
Types ¶
type Address ¶
type Address struct {
gorm.Model
Address string `gorm:"type:varchar(50);unique_index:address"`
Type AddressType
}
func NewAddress ¶
func (*Address) AddressType ¶
func (*Address) GetAddressDetails ¶
func (*Address) MarshalJSON ¶
type AddressType ¶
type AddressType uint8
const ( NormalAddress AddressType = 1 ContractAddress AddressType = 2 )
type Transaction ¶
type Transaction struct {
}
Click to show internal directories.
Click to hide internal directories.