Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RepOptFunc ¶ added in v0.0.51
type RepOptFunc func(*ReplicatorOpts) error
typedef of function that will be used to set the options for a Replicator.
type Replicator ¶ added in v0.0.51
type Replicator struct {
// contains filtered or unexported fields
}
func NewReplicator ¶ added in v0.0.51
func NewReplicator(optFuncs ...RepOptFunc) (replicator *Replicator, err error)
function designed to initialize and return a new replicator.
func (*Replicator) Replicate ¶ added in v0.0.51
func (r *Replicator) Replicate() (err error)
function designed to replicate the currently running process. this will spawn a new, detached, process, allowing it to continue running even after the current process has exited.
type ReplicatorOpts ¶ added in v0.0.51
Click to show internal directories.
Click to hide internal directories.