Documentation
¶
Index ¶
Constants ¶
View Source
const ( // JSONFILE ... JSONFILE = "json" // DB ... DB = "db" )
Variables ¶
This section is empty.
Functions ¶
func PostgreSQLConnection ¶
PostgreSQLConnection func for connection to PostgreSQL database.
Types ¶
type NotifierService ¶ added in v0.3.0
NotifierService ...
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
type Sourcer ¶ added in v0.3.0
type Sourcer interface {
Wallets(ctx context.Context) (wallets []Wallet, err error)
WalletsTONotify(ctx context.Context) (wallets []Wallet, err error)
}
Sourcer ...
type Wallet ¶ added in v0.3.0
type Wallet struct {
Address string `json:"address,omitempty"`
Symbol string `json:"symbol,omitempty"`
IsActive bool `json:"is_active,omitempty"`
NotifierService []NotifierService `json:"notifier_service,omitempty"`
NetworkType string `json:"network_type,omitempty"`
}
Wallet ...
func WalletFromPostgreSQL ¶ added in v0.3.2
func WalletsFromJsonToStruct ¶ added in v0.3.0
WalletsFromJsonToStruct read json filename and path
Click to show internal directories.
Click to hide internal directories.