Documentation ¶
Index ¶
- func Start(ctx context.Context, wg *sync.WaitGroup)
- type Client
- func (proxy *Client) ConnectAppPage(ctx context.Context, args *ConnectPageArgs) (results *ConnectPageResults, err error)
- func (proxy *Client) ConnectSharedPage(ctx context.Context, args *ConnectPageArgs) (results *ConnectPageResults, err error)
- func (proxy *Client) Start(local bool)
- func (proxy *Client) WaitAppSession(ctx context.Context, args *ConnectPageArgs) (results *ConnectPageResults, err error)
- type ConnectPageArgs
- type ConnectPageResults
- type Service
- func (ps *Service) ConnectAppPage(ctx context.Context, args *ConnectPageArgs, results *ConnectPageResults) error
- func (ps *Service) ConnectSharedPage(ctx context.Context, args *ConnectPageArgs, results *ConnectPageResults) error
- func (ps *Service) WaitAppSession(ctx context.Context, args *ConnectPageArgs, results *ConnectPageResults) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ConnectAppPage ¶
func (proxy *Client) ConnectAppPage(ctx context.Context, args *ConnectPageArgs) (results *ConnectPageResults, err error)
func (*Client) ConnectSharedPage ¶
func (proxy *Client) ConnectSharedPage(ctx context.Context, args *ConnectPageArgs) (results *ConnectPageResults, err error)
func (*Client) WaitAppSession ¶
func (proxy *Client) WaitAppSession(ctx context.Context, args *ConnectPageArgs) (results *ConnectPageResults, err error)
type ConnectPageArgs ¶
type ConnectPageResults ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service manages connections to a shared page or app.
func (*Service) ConnectAppPage ¶
func (ps *Service) ConnectAppPage(ctx context.Context, args *ConnectPageArgs, results *ConnectPageResults) error
ConnectAppPage waits for new web clients connecting specified page, creates a new session and returns file name of control pipe.
func (*Service) ConnectSharedPage ¶
func (ps *Service) ConnectSharedPage(ctx context.Context, args *ConnectPageArgs, results *ConnectPageResults) error
ConnectSharedPage establishes a new connection to the specified shared page and returns file name of control pipe.
func (*Service) WaitAppSession ¶
func (ps *Service) WaitAppSession(ctx context.Context, args *ConnectPageArgs, results *ConnectPageResults) error
Click to show internal directories.
Click to hide internal directories.