Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { ID uint `gorm:"primarykey" json:"id"` CreatedAt int64 `gorm:"autoCreateTime" json:"created_at"` UpdatedAt int64 `gorm:"autoUpdateTime" json:"updated_at"` ExpiredAt int64 `gorm:"autoExpiredTime" json:"expired_at"` Uuid string `gorm:"uuid" json:"uuid"` Wallet string `gorm:"wallet" json:"wallet"` ServerCid string `gorm:"server_cid" json:"server_cid"` Port int `gorm:"port" json:"port"` }
func OrderToProvider ¶
func OrderToProvider(order *schema.NodeOrder, pc *schema.ProviderConfig) *Provider
func (*Provider) ToNodeOrder ¶
Click to show internal directories.
Click to hide internal directories.