notificationhandler

package
v0.0.66 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 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 IWebsocketActions

type IWebsocketActions interface {
	ReadMessage() (int, []byte, error)
	Close() error
	WritePingMessage() error
	DefaultDialer(requestHeader http.Header) (*http.Response, error)
}

IWebsocketActions -

type NotificationHandler

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

func NewNotificationHandler

func NewNotificationHandler(sessionObj *chan utils.SessionObj) *NotificationHandler

func (*NotificationHandler) WebsocketConnection

func (notification *NotificationHandler) WebsocketConnection() error

type WebsocketActions

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

WebsocketActions -

func NewWebsocketActions

func NewWebsocketActions(host string) *WebsocketActions

NewWebsocketActions -

func (*WebsocketActions) Close

func (wa *WebsocketActions) Close() error

Close -

func (*WebsocketActions) DefaultDialer

func (wa *WebsocketActions) DefaultDialer(requestHeader http.Header) (*http.Response, error)

DefaultDialer -

func (*WebsocketActions) ReadMessage

func (wa *WebsocketActions) ReadMessage() (int, []byte, error)

ReadMessage -

func (*WebsocketActions) WritePingMessage

func (wa *WebsocketActions) WritePingMessage() error

WritePingMessage -

Jump to

Keyboard shortcuts

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