websocket

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorTimeoutComplete = errors.New("complete timeout")
)

Functions

func DialWithTimeout

func DialWithTimeout(urlStr string, header http.Header, timeout time.Duration) (*websocket.Conn, *http.Response, error)

Types

type Complete

type Complete struct {
	// contains filtered or unexported fields
}

func NewComplete

func NewComplete(retry int, timeOut time.Duration) *Complete

func (*Complete) Complete

func (h *Complete) Complete(org eocontext.EoContext) error

Jump to

Keyboard shortcuts

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