Documentation ¶
Index ¶
- type HostClient
- func (hc *HostClient) Call(ctx context.Context, action string, payload interface{}) *json.RawMessage
- func (hc *HostClient) CallAndForget(action string, payload interface{})
- func (hc *HostClient) PageNewSessions(pageName string) chan string
- func (hc *HostClient) RegisterPipeClient(pc *PipeClient)
- func (hc *HostClient) Start() (err error)
- func (hc *HostClient) UnregisterPipeClient(pc *PipeClient)
- type PipeClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostClient ¶
type HostClient struct {
// contains filtered or unexported fields
}
func NewHostClient ¶
func NewHostClient(wsURL string) *HostClient
func (*HostClient) Call ¶
func (hc *HostClient) Call(ctx context.Context, action string, payload interface{}) *json.RawMessage
func (*HostClient) CallAndForget ¶
func (hc *HostClient) CallAndForget(action string, payload interface{})
func (*HostClient) PageNewSessions ¶
func (hc *HostClient) PageNewSessions(pageName string) chan string
func (*HostClient) RegisterPipeClient ¶
func (hc *HostClient) RegisterPipeClient(pc *PipeClient)
func (*HostClient) Start ¶
func (hc *HostClient) Start() (err error)
func (*HostClient) UnregisterPipeClient ¶
func (hc *HostClient) UnregisterPipeClient(pc *PipeClient)
type PipeClient ¶
type PipeClient struct {
// contains filtered or unexported fields
}
func NewPipeClient ¶
func NewPipeClient(pageName string, sessionID string, hc *HostClient, uds bool) (*PipeClient, error)
func (*PipeClient) CommandPipeName ¶
func (pc *PipeClient) CommandPipeName() string
func (*PipeClient) Start ¶
func (pc *PipeClient) Start() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.