pluginutils

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 6 Imported by: 34

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Recv

func Recv(conn net.Conn, timeout time.Duration) ([]byte, error)

func Send

func Send(conn net.Conn, data []byte, timeout time.Duration) error

func SendRecv

func SendRecv(conn net.Conn, data []byte, timeout time.Duration) ([]byte, error)

Types

type CloseDialError

type CloseDialError struct {
}

func (*CloseDialError) Error

func (e *CloseDialError) Error() string

type CreateDialError

type CreateDialError struct {
	Message string
}

func (*CreateDialError) Error

func (e *CreateDialError) Error() string

type InvalidAddrProvided

type InvalidAddrProvided struct {
	Service string
}

func (*InvalidAddrProvided) Error

func (e *InvalidAddrProvided) Error() string

type InvalidResponseError

type InvalidResponseError struct {
	Service string
}

func (*InvalidResponseError) Error

func (e *InvalidResponseError) Error() string

type InvalidResponseErrorInfo

type InvalidResponseErrorInfo struct {
	Service string
	Info    string
}

func (*InvalidResponseErrorInfo) Error

func (e *InvalidResponseErrorInfo) Error() string

type RandomizeError

type RandomizeError struct {
	Message string
}

func (*RandomizeError) Error

func (e *RandomizeError) Error() string

type ReadError

type ReadError struct {
	Info         string
	WrappedError error
}

func (*ReadError) Error

func (e *ReadError) Error() string

func (*ReadError) Unwrap

func (e *ReadError) Unwrap() error

type ReadTimeoutError

type ReadTimeoutError struct {
	WrappedError error
}

func (*ReadTimeoutError) Error

func (e *ReadTimeoutError) Error() string

func (*ReadTimeoutError) Unwrap

func (e *ReadTimeoutError) Unwrap() error

type RequestError

type RequestError struct {
	Message string
}

func (*RequestError) Error

func (e *RequestError) Error() string

type ServerNotEnable

type ServerNotEnable struct {
}

func (*ServerNotEnable) Error

func (e *ServerNotEnable) Error() string

type WriteError

type WriteError struct {
	WrappedError error
}

func (*WriteError) Error

func (e *WriteError) Error() string

func (*WriteError) Unwrap

func (e *WriteError) Unwrap() error

type WriteTimeoutError

type WriteTimeoutError struct {
	WrappedError error
}

func (*WriteTimeoutError) Error

func (e *WriteTimeoutError) Error() string

func (*WriteTimeoutError) Unwrap

func (e *WriteTimeoutError) Unwrap() error

Jump to

Keyboard shortcuts

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