ws_repl

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type M added in v1.0.19

type M = map[string]any

type WebsocketReplContext

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

func New

func New(isMain, isDebug, canEval bool, conn *websocket.Conn) *WebsocketReplContext

func (*WebsocketReplContext) Context

func (c *WebsocketReplContext) Context() *runtime.Context

func (*WebsocketReplContext) OnEnter

func (c *WebsocketReplContext) OnEnter()

func (*WebsocketReplContext) OnExit

func (*WebsocketReplContext) OnExit()

func (*WebsocketReplContext) ReadAction

func (c *WebsocketReplContext) ReadAction(shouldRecover bool) repl.ReplAction

func (*WebsocketReplContext) WriteException added in v1.0.19

func (c *WebsocketReplContext) WriteException(e runtime.Exception)

func (*WebsocketReplContext) WriteResult

func (c *WebsocketReplContext) WriteResult(result interface{})

Jump to

Keyboard shortcuts

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