Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subprocess ¶
type Subprocess struct {
sync.Mutex
Cmd *exec.Cmd
ModPort int
CorePort int
Key string
Config []byte
Dir string
DataDir string
Writer *SubprocessWriter
}
func CreateSubprocess ¶
func (*Subprocess) Build ¶
func (sub *Subprocess) Build() error
func (*Subprocess) GetCurLogBytes ¶
func (sub *Subprocess) GetCurLogBytes() ([]byte, error)
func (*Subprocess) MarshalJSON ¶
func (sub *Subprocess) MarshalJSON() ([]byte, error)
func (*Subprocess) Start ¶
func (sub *Subprocess) Start() error
func (*Subprocess) Stop ¶
func (sub *Subprocess) Stop() error
func (*Subprocess) Update ¶
func (sub *Subprocess) Update()
type SubprocessWriter ¶
type SubprocessWriter struct {
sync.Mutex
JMODName string
// contains filtered or unexported fields
}
func CreateSubprocessWriter ¶
func CreateSubprocessWriter(JMODName string) (*SubprocessWriter, error)
func (*SubprocessWriter) GetCurLogBytes ¶
func (writer *SubprocessWriter) GetCurLogBytes() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.