client

package
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2020 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL