ws_repl

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) 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