common

package
v0.0.0-...-f85dc52 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(srcServer Server, payload string)

func Error

func Error(msg string)

func Info

func Info(msg string)

func Notice

func Notice(msg string)

func RemoteDBBackup

func RemoteDBBackup(config Config)

Types

type Config

type Config struct {
	Src              Server
	Dest             Server
	PiiDB            bool
	Prefix           bool
	WordPress        bool
	WordPressNetwork bool
}

type Server

type Server struct {
	Host             string
	Port             int
	User             string
	Group            string
	Domain           []string
	MagentoDir       string
	BackupDir        string
	SharedDir        string
	PhpPath          string
	N98Path          string
	IgnoreTables     []string
	WordPressNetwork bool
}

func ServerSetup

func ServerSetup(source string) Server

Jump to

Keyboard shortcuts

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