credentials

package
v0.0.0-...-12a582f Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "credentials",
	Short: "credentials",
	Run: func(cmd *cobra.Command, args []string) {
		c := rpc.Credentials{
			Username: username,
			Password: password,
		}

		data, err := c.Generate()
		if err != nil {
			log.Error(err)
			return
		}

		fmt.Println("add this to your bitcoin.conf file:")
		fmt.Println(data)
		fmt.Println("")
		fmt.Println("your password is:", c.Password)
	},
}

Cmd is the top level relay command to export

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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