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
Click to show internal directories.
Click to hide internal directories.