Documentation ¶
Index ¶
- Variables
- type Client
- func (obj *Client) Close()
- func (obj *Client) Ctx() context.Context
- func (obj *Client) Done() <-chan struct{}
- func (obj *Client) Err() error
- func (obj *Client) Join()
- func (obj *Client) Output() ([]byte, error)
- func (obj *Client) Run() error
- func (obj *Client) SetStdErr(stderr io.WriteCloser)
- func (obj *Client) SetStdIn(stdin io.ReadCloser)
- func (obj *Client) SetStdOut(stdout io.WriteCloser)
- func (obj *Client) StdErrPipe() (io.ReadCloser, error)
- func (obj *Client) StdInPipe() (io.WriteCloser, error)
- func (obj *Client) StdOutPipe() (io.ReadCloser, error)
- type ClientOption
- type JsClientOption
- type JyClient
- type PyClientOption
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrClosed = errors.New("client closed")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type ClientOption ¶
type JsClientOption ¶
type JyClient ¶
type JyClient struct {
// contains filtered or unexported fields
}
func NewJsClient ¶
func NewJsClient(pre_ctx context.Context, option JsClientOption) (*JyClient, error)
创建json解析器
func NewPyClient ¶
func NewPyClient(pre_ctx context.Context, option PyClientOption) (*JyClient, error)
创建py解析器
Click to show internal directories.
Click to hide internal directories.