mg14

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 12 Imported by: 1

Documentation

Overview

package mg14 contains the code to perform 14-15 repository migration in Kubo. This handles the following: - Replaces bootstrap QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ from /quic to /quic-v1 - Removes /quic only addresses from .Addresses.Swarm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Migration

type Migration struct{}

Migration implements the migration described above.

func (Migration) Apply

func (m Migration) Apply(opts migrate.Options) error

Apply update the config.

func (Migration) Reversible

func (m Migration) Reversible() bool

Reversible returns true, as we keep old config around

func (Migration) Revert

func (m Migration) Revert(opts migrate.Options) error

func (Migration) Versions

func (m Migration) Versions() string

Versions returns the current version string for this migration.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL