Documentation ¶
Index ¶
- type HandshakeFailureHandler
- type SipcChild
- func (child *SipcChild) AttachProcess(process *os.Process) error
- func (child *SipcChild) AttachProcessWithPid(pid int) error
- func (child *SipcChild) Close() error
- func (child *SipcChild) GetEncodedConnectInfo() string
- func (child *SipcChild) IsClosed() bool
- func (child *SipcChild) Read(p []byte) (int, error)
- func (child *SipcChild) Start() error
- func (child *SipcChild) Write(p []byte) (n int, err error)
- type SipcChildConfig
- type SipcServer
- type SipcServerConfig
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandshakeFailureHandler ¶ added in v0.2.3
type SipcChild ¶
type SipcChild struct { io.ReadWriteCloser // contains filtered or unexported fields }
func (*SipcChild) AttachProcessWithPid ¶
func (*SipcChild) GetEncodedConnectInfo ¶
type SipcChildConfig ¶ added in v0.2.3
type SipcChildConfig struct {
HandshakeFailureHandler HandshakeFailureHandler
}
type SipcServer ¶
type SipcServer struct {
// contains filtered or unexported fields
}
func NewSipcServer ¶
func NewSipcServer(config SipcServerConfig) (*SipcServer, error)
func (*SipcServer) CreateProcess ¶
func (server *SipcServer) CreateProcess(cmd *exec.Cmd, config *SipcChildConfig) (*SipcChild, error)
func (*SipcServer) PrepareProcess ¶
func (server *SipcServer) PrepareProcess(config *SipcChildConfig) (*SipcChild, error)
func (*SipcServer) Shutdown ¶
func (server *SipcServer) Shutdown()
type SipcServerConfig ¶
Click to show internal directories.
Click to hide internal directories.