Documentation
¶
Overview ¶
Code generated for package migrationsprevnodecfg by go-bindata DO NOT EDIT. (@generated) sources: 0001_app.down.sql 0001_app.up.sql 0002_tokens.down.sql 0002_tokens.up.sql 0003_settings.down.sql 0003_settings.up.sql 0004_pending_stickers.down.sql 0004_pending_stickers.up.sql 0005_waku_mode.down.sql 0005_waku_mode.up.sql 0006_appearance.up.sql 0007_enable_waku_default.up.sql 0008_add_push_notifications.up.sql 0009_enable_sending_push_notifications.down.sql 0009_enable_sending_push_notifications.up.sql 0010_add_block_mentions.down.sql 0010_add_block_mentions.up.sql 0011_allow_webview_permission_requests.down.sql 0011_allow_webview_permission_requests.up.sql 0012_pending_transactions.down.sql 0012_pending_transactions.up.sql 0013_favourites.down.sql 0013_favourites.up.sql 0014_add_use_mailservers.down.sql 0014_add_use_mailservers.up.sql 0015_link_previews.down.sql 0015_link_previews.up.sql 0016_local_notifications_preferences.down.sql 0016_local_notifications_preferences.up.sql 0017_bookmarks.down.sql 0017_bookmarks.up.sql 0018_profile_pictures_visibility.up.sql 0019_blocks_ranges_extra_data.up.sql 0020_metrics.up.sql 0021_add_session_id_to_metrics.up.sql 0022_pending_transfers.up.sql 1618237885_settings_anon_metrics_should_send.up.sql 1618395756_contacts_only.up.sql 1622184614_add_default_sync_period.up.sql 1625872445_user_status.up.sql 1627983977_add_gif_to_settings.up.sql 1628580203_add_hidden_account.up.sql 1629123384_add_id_to_app_metrics.up.sql 1630401853_add_opensea_enabled_to_settings.up.sql 1630464455_create-saved_addresses-table.down.sql 1630464455_create-saved_addresses-table.up.sql 1630485153_networks.down.sql 1630485153_networks.up.sql 1632262444_profile_pictures_show_to.up.sql 1635942153_add_telemetry_server_url_to_settings.up.sql 1635942154_add_backup_setting.up.sql 1637745568_add_auto_message_setting.up.sql 1640111208_nodeconfig.up.sql doc.go
Index ¶
- func Asset(name string) ([]byte, error)
- func AssetDir(name string) ([]string, error)
- func AssetInfo(name string) (os.FileInfo, error)
- func AssetNames() []string
- func Migrate(db *sql.DB) error
- func MustAsset(name string) []byte
- func RestoreAsset(dir, name string) error
- func RestoreAssets(dir, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Asset ¶
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
func AssetDir ¶
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data contains the following hierarchy:
data/ foo.txt img/ a.png b.png
then AssetDir("data") would return []string{"foo.txt", "img"} AssetDir("data/img") would return []string{"a.png", "b.png"} AssetDir("foo.txt") and AssetDir("notexist") would return an error AssetDir("") will return []string{"data"}.
func AssetInfo ¶
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
func MustAsset ¶
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
func RestoreAsset ¶
RestoreAsset restores an asset under the given directory
func RestoreAssets ¶
RestoreAssets restores an asset under the given directory recursively
Types ¶
This section is empty.