client

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SipcClient

type SipcClient struct {
	io.ReadWriteCloser

	HandshakeTimeout time.Duration
	// contains filtered or unexported fields
}

func NewSipcClient

func NewSipcClient(connectInfo string) (*SipcClient, error)

func NewSipcClientWithAllowRemote added in v0.2.3

func NewSipcClientWithAllowRemote(connectInfo string, allowRemote bool) (*SipcClient, error)

func (*SipcClient) Close

func (client *SipcClient) Close() error

func (*SipcClient) IsClosed added in v0.2.3

func (client *SipcClient) IsClosed() bool

func (*SipcClient) IsConnected added in v0.2.3

func (client *SipcClient) IsConnected() bool

func (*SipcClient) Read

func (client *SipcClient) Read(p []byte) (int, error)

func (*SipcClient) Start

func (client *SipcClient) Start() error

func (*SipcClient) Write

func (client *SipcClient) Write(p []byte) (n int, err error)

type State

type State int

Jump to

Keyboard shortcuts

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