cmd

package
v0.0.0-...-a4d05e0 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminOptions

type AdminOptions struct {
	Address string `long:"address" description:"Admin HTTP listen address" default:"0.0.0.0"`
	Port    uint   `long:"port" description:"Admin HTTP listen port"`
}

type GenerateKey

type GenerateKey struct {
	OutPath   string `long:"out" short:"o" description:"File path to output the node key (default: stdout)"`
	Overwrite bool   `long:"overwrite" description:"Overwrite output file if it already exists (default: false)"`
}

func (*GenerateKey) Execute

func (c *GenerateKey) Execute(args []string) error

type ShowID

type ShowID struct {
	NodeKey string `long:"node-key" env:"XMTP_NODE_KEY" description:"P2P node identity private key in hex format" required:"true"`
}

func (*ShowID) Execute

func (c *ShowID) Execute(args []string) error

type Start

type Start struct {
	node.Options `group:"node options"`
	AdminOptions `group:"admin options" namespace:"admin"`

	GitCommit string
}

func (*Start) Execute

func (c *Start) Execute(args []string) error

type Version

type Version struct {
	GitCommit string
}

func (*Version) Execute

func (c *Version) Execute(args []string) error

Jump to

Keyboard shortcuts

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