Documentation ¶
Index ¶
Constants ¶
View Source
const ( // JSONFILE ... JSONFILE = "json" // POSTGRESQL ... POSTGRESQL = "postgresql" )
Variables ¶
This section is empty.
Functions ¶
func PostgreSQLConnection ¶
PostgreSQLConnection func for connection to PostgreSQL database.
func WalletsFromJsonToMAP ¶ added in v0.3.0
WalletsFromJsonToMAP read json filename and path
Types ¶
type NotifierService ¶ added in v0.3.0
type OptionsSource ¶ added in v0.3.0
type Source ¶ added in v0.3.0
type Source struct { SourceType string Options OptionsSource }
func NewSource ¶ added in v0.3.0
func NewSource(sourceType string, options OptionsSource) Source
func (*Source) WalletsTONotify ¶ added in v0.3.0
type Sourcer ¶ added in v0.3.0
type Sourcer interface { Wallets() (wallets []Wallet, err error) WalletsTONotify() (wallets []Wallet, err error) }
Sourcer ...
type Wallet ¶ added in v0.3.0
type Wallet struct { Address string `json:"address"` Symbol string `json:"symbol"` IsActive bool `json:"is_active"` NotifierService []NotifierService `json:"notifier_service"` NetworkType string `json:"network_type"` }
func WalletsFromJsonToStruct ¶ added in v0.3.0
WalletsFromJsonToStruct read json filename and path
Click to show internal directories.
Click to hide internal directories.