websocketbody

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebsocketBody

type WebsocketBody struct {
	Headers    string `json:"headers"`
	Method     string `json:"method"`
	URL        string `json:"url"`
	Body       string `json:"body"`
	StatusCode int    `json:"statusCode"`
	UUID       string `json:"uuid"`
}

func NewWebsocketBody

func NewWebsocketBody() *WebsocketBody

func (*WebsocketBody) GetURL

func (w *WebsocketBody) GetURL() string

func (*WebsocketBody) Marshal

func (w *WebsocketBody) Marshal() ([]byte, error)

func (*WebsocketBody) UnMarshal

func (w *WebsocketBody) UnMarshal(data []byte) error

Jump to

Keyboard shortcuts

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