blockservice

package
v0.11.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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