cmd

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecRestoreCommand

func ExecRestoreCommand(walFileName, walFilePath string, opts *RestoreCommandOpts) error

func RunReceiveMode

func RunReceiveMode(opts *ReceiveModeOpts)

func RunServeMode

func RunServeMode(opts *ServeModeOpts)

Types

type ReceiveModeOpts

type ReceiveModeOpts struct {
	ReceiveDirectory string
	Slot             string
	NoLoop           bool
	ListenPort       int
	Verbose          bool
}

type RestoreCommandOpts

type RestoreCommandOpts struct {
	Addr string
}

type ServeModeOpts

type ServeModeOpts struct {
	Directory  string
	ListenPort int
	Verbose    bool
}

Jump to

Keyboard shortcuts

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