api

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type History added in v0.9.0

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

func NewHistory added in v0.9.0

func NewHistory(module string, logger log.Logger, retryCount int, client client.Client, prefixPath string) *History

func (*History) Do added in v0.9.0

func (h *History) Do(ctx context.Context, agentId string) (*resp.HistoryResp, error)

type Interrupt added in v0.9.0

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

func NewInterrupt added in v0.9.0

func NewInterrupt(module string, logger log.Logger, retryCount int, client client.Client, prefixPath string) *Interrupt

func (*Interrupt) Do added in v0.9.0

func (i *Interrupt) Do(ctx context.Context, agentId string) (*resp.InterruptResp, error)

type Join

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

func NewJoin

func NewJoin(module string, logger log.Logger, retryCount int, client client.Client, prefixPath string) *Join

func (*Join) Do

func (d *Join) Do(ctx context.Context, name string, propertiesBody *req.JoinPropertiesReqBody) (*resp.JoinResp, error)

type Leave

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

func NewLeave

func NewLeave(module string, logger log.Logger, retryCount int, client client.Client, prefixPath string) *Leave

NewLeave Creates a new Leave instance

func (*Leave) Do

func (d *Leave) Do(ctx context.Context, agentId string) (*resp.LeaveResp, error)

type List

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

func NewList

func NewList(module string, logger log.Logger, retryCount int, client client.Client, prefixPath string) *List

func (*List) Do

func (l *List) Do(ctx context.Context, options ...req.ListOption) (*resp.ListResp, error)

type Query

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

func NewQuery

func NewQuery(module string, logger log.Logger, retryCount int, client client.Client, prefixPath string) *Query

func (*Query) Do

func (q *Query) Do(ctx context.Context, agentId string) (*resp.QueryResp, error)

type Speak added in v0.9.0

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

func NewSpeak added in v0.9.0

func NewSpeak(module string, logger log.Logger, retryCount int, client client.Client, prefixPath string) *Speak

func (*Speak) Do added in v0.9.0

func (s *Speak) Do(ctx context.Context, agentId string, body *req.SpeakBody) (*resp.SpeakResp, error)

type Update

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

func NewUpdate

func NewUpdate(module string, logger log.Logger, retryCount int, client client.Client, prefixPath string) *Update

func (*Update) Do

func (u *Update) Do(ctx context.Context, agentId string, payload *req.UpdateReqBody) (*resp.UpdateResp, error)

Jump to

Keyboard shortcuts

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