Documentation ¶
Index ¶
- Constants
- Variables
- type Conn
- type UnixClient
- func (uc *UnixClient) DialContext(ctx context.Context, network, addr string) (net.Conn, error)
- func (d *UnixClient) DialContextUpgrade(req *http.Request) (net.Conn, *http.Response, error)
- func (uc *UnixClient) ServeHTTP(w http.ResponseWriter, request *http.Request)
- func (uc *UnixClient) Update(process *exec.Cmd)
Constants ¶
View Source
const BuffSize = 4096
Variables ¶
View Source
var (
ErrorProcessNotInit = errors.New("process not init")
)
Functions ¶
This section is empty.
Types ¶
type UnixClient ¶
type UnixClient struct {
// contains filtered or unexported fields
}
func NewUnixClient ¶
func NewUnixClient(name string) *UnixClient
func (*UnixClient) DialContext ¶
func (*UnixClient) DialContextUpgrade ¶
func (*UnixClient) ServeHTTP ¶
func (uc *UnixClient) ServeHTTP(w http.ResponseWriter, request *http.Request)
func (*UnixClient) Update ¶
func (uc *UnixClient) Update(process *exec.Cmd)
Click to show internal directories.
Click to hide internal directories.