blockservice

package
v0.9.3-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultTimeout = 2 * time.Second

Variables

View Source
var BlockServiceInstance = &BlockService{}

Functions

This section is empty.

Types

type BlockService

type BlockService struct{}

func (*BlockService) GetControllerStatus

func (bs *BlockService) GetControllerStatus(ctx context.Context, blockId string) (*blockcontroller.BlockControllerRuntimeStatus, error)

func (*BlockService) SaveTerminalState

func (bs *BlockService) SaveTerminalState(ctx context.Context, blockId string, state string, stateType string, ptyOffset int64, termSize waveobj.TermSize) error

func (*BlockService) SaveTerminalState_Meta added in v0.8.13

func (*BlockService) SaveTerminalState_Meta() tsgenmeta.MethodMeta

func (*BlockService) SaveWaveAiData

func (bs *BlockService) SaveWaveAiData(ctx context.Context, blockId string, history []wshrpc.OpenAIPromptMessageType) error

func (*BlockService) SendCommand_Meta

func (bs *BlockService) SendCommand_Meta() tsgenmeta.MethodMeta

Jump to

Keyboard shortcuts

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