Documentation ¶
Index ¶
- Constants
- Variables
- type BlockService
- func (bs *BlockService) GetControllerStatus(ctx context.Context, blockId string) (*blockcontroller.BlockControllerRuntimeStatus, error)
- func (bs *BlockService) SaveTerminalState(ctx context.Context, blockId string, state string, stateType string, ...) error
- func (*BlockService) SaveTerminalState_Meta() tsgenmeta.MethodMeta
- func (bs *BlockService) SaveWaveAiData(ctx context.Context, blockId string, history []wshrpc.OpenAIPromptMessageType) error
- func (bs *BlockService) SendCommand_Meta() tsgenmeta.MethodMeta
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 (*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
Click to show internal directories.
Click to hide internal directories.