Documentation
¶
Index ¶
- type DefaultFactory
- type DefaultInstance
- func (i *DefaultInstance) ContextID() string
- func (i *DefaultInstance) ExecuteSingleRequest(ctx context.Context)
- func (i *DefaultInstance) Executor() Executor
- func (i *DefaultInstance) HandleResponse(ctx context.Context, response *executor.ExecuteResponse) error
- func (i *DefaultInstance) KeyPressed() error
- func (i *DefaultInstance) SDK() SDK
- func (i *DefaultInstance) SetConfig(payload *fastjson.Value) error
- func (i *DefaultInstance) ShowAlert()
- func (i *DefaultInstance) ShowOk()
- func (i *DefaultInstance) StartAsync()
- func (i *DefaultInstance) Stop()
- type Executor
- type Factory
- type Instance
- type Manager
- type SDK
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultFactory ¶
type DefaultFactory struct {
Executor Executor
// contains filtered or unexported fields
}
func NewDefaultFactory ¶
func NewDefaultFactory( sdk SDK, executor Executor, ) *DefaultFactory
func (*DefaultFactory) Create ¶
func (f *DefaultFactory) Create(ctxID string) Instance
type DefaultInstance ¶
type DefaultInstance struct {
// contains filtered or unexported fields
}
func NewInstance ¶
func NewInstance( ctxID string, executor Executor, sdk SDK, ) *DefaultInstance
func (*DefaultInstance) ContextID ¶
func (i *DefaultInstance) ContextID() string
func (*DefaultInstance) ExecuteSingleRequest ¶
func (i *DefaultInstance) ExecuteSingleRequest( ctx context.Context, )
func (*DefaultInstance) Executor ¶
func (i *DefaultInstance) Executor() Executor
func (*DefaultInstance) HandleResponse ¶
func (i *DefaultInstance) HandleResponse( ctx context.Context, response *executor.ExecuteResponse, ) error
func (*DefaultInstance) KeyPressed ¶
func (i *DefaultInstance) KeyPressed() error
func (*DefaultInstance) SDK ¶
func (i *DefaultInstance) SDK() SDK
func (*DefaultInstance) SetConfig ¶
func (i *DefaultInstance) SetConfig(payload *fastjson.Value) error
func (*DefaultInstance) ShowAlert ¶
func (i *DefaultInstance) ShowAlert()
func (*DefaultInstance) ShowOk ¶
func (i *DefaultInstance) ShowOk()
func (*DefaultInstance) StartAsync ¶
func (i *DefaultInstance) StartAsync()
func (*DefaultInstance) Stop ¶
func (i *DefaultInstance) Stop()
type Executor ¶
type Executor interface {
Execute(
ctx context.Context,
executeReq executor.ExecuteRequest,
) (*executor.ExecuteResponse, error)
}
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) KeyPressed ¶
func (*Manager) SetInstanceConfig ¶
func (*Manager) StartAsync ¶
Click to show internal directories.
Click to hide internal directories.