Documentation
¶
Index ¶
- Constants
- func DBMigrationUp(ctx context.Context, driverName, dsn string) error
- func DBMigrationUpWithDriver(db *sql.DB, path string) error
- func GetPath(paths ...string) string
- func KafkaTopicCreate(ctx context.Context, brokerAddr string) ([]kafka.TopicResult, error)
- func RunAccountSeedData(ctx context.Context, driver, dsn string) error
- type CreateTopicSpec
Constants ¶
View Source
const ( AccountSeedCount = 1000000 ShardCount = 10 CurrencyCodes = "USDT,BTC,ETH,SOL,BNB,USDC" )
Variables ¶
This section is empty.
Functions ¶
func GetPath ¶
GetPath returns the absolute path by joining the provided relative paths with the migration project root.
func KafkaTopicCreate ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.